Browse Source

Fix WinRT builds

LouYihua 7 years ago
parent
commit
679cdd94c3
1 changed files with 2 additions and 2 deletions
  1. 2 2
      global.c

+ 2 - 2
global.c

@@ -188,9 +188,9 @@ PAL_DetectCodePage(
 		free(word_buf);
 
 		if (min_invalids == 0)
-			UTIL_LogOutput(LOGLEVEL_INFO, "%s detected code page: %s\n", __func__, cp ? "GBK" : "BIG5");
+			UTIL_LogOutput(LOGLEVEL_INFO, "PAL_DetectCodePage detected code page: %s\n", cp ? "GBK" : "BIG5");
 		else
-			UTIL_LogOutput(LOGLEVEL_WARNING, "%s detected possible code page: %s [%d invalids]\n", __func__, cp ? "GBK" : "BIG5", min_invalids);
+			UTIL_LogOutput(LOGLEVEL_WARNING, "PAL_DetectCodePage detected possible code page: %s [%d invalids]\n", cp ? "GBK" : "BIG5", min_invalids);
 	}
 
 	return cp;