OSDN Git Service

2005-12-04 Perry
authorPerry Rapp <elsapo@users.sourceforge.net>
Sun, 4 Dec 2005 19:02:33 +0000 (19:02 +0000)
committerPerry Rapp <elsapo@users.sourceforge.net>
Sun, 4 Dec 2005 19:02:33 +0000 (19:02 +0000)
 PATCH: [ 1372974 ] Make local function "GuessEncoding_from_bytes" static
  Src: codepage_detect.cpp

Src/Changes.txt
Src/codepage_detect.cpp

index e1123af..c970f97 100644 (file)
@@ -1,3 +1,7 @@
+2005-12-04 Perry
+ PATCH: [ 1372974 ] Make local function "GuessEncoding_from_bytes" static
+  Src: codepage_detect.cpp
+
 2005-12-04 Jochen
  CMarkdown::FileImage::GuessByteOrder(), GuessCodepageEncoding(): Fix UTF-8 signature detection
  CMarkdown::GetTagName(): Strip bogus trailing slash in name of empty tag
index 719b003..da77ac1 100644 (file)
@@ -127,7 +127,7 @@ static unsigned demoGuessEncoding_rc(const char *src, size_t len)
 /**
  * @brief Try to deduce encoding for this file
  */
-unsigned GuessEncoding_from_bytes(LPCTSTR ext, const char *src, size_t len)
+static unsigned GuessEncoding_from_bytes(LPCTSTR ext, const char *src, size_t len)
 {
        if (len > 4096)
                len = 4096;