(svn r14622) -Fix (r14618): win9x compilation
authorglx
Mon, 24 Nov 2008 20:10:39 +0000
changeset 10371 cee0ed0e1200
parent 10370 50e315db0024
child 10372 ac1e34769a83
(svn r14622) -Fix (r14618): win9x compilation
src/fontcache.cpp
--- a/src/fontcache.cpp	Mon Nov 24 19:31:01 2008 +0000
+++ b/src/fontcache.cpp	Mon Nov 24 20:10:39 2008 +0000
@@ -199,7 +199,7 @@
 bool SetFallbackFont(FreeTypeSettings *settings, const char *language_isocode, int winlangid)
 {
 	EFCParam langInfo;
-	if (GetLocaleInfo(MAKELCID(winlangid, SORT_DEFAULT), LOCALE_FONTSIGNATURE, (LPWSTR)&langInfo.locale, sizeof(langInfo.locale) / sizeof(TCHAR)) == 0) {
+	if (GetLocaleInfo(MAKELCID(winlangid, SORT_DEFAULT), LOCALE_FONTSIGNATURE, (LPTSTR)&langInfo.locale, sizeof(langInfo.locale) / sizeof(TCHAR)) == 0) {
 		/* Invalid langid or some other mysterious error, can't determine fallback font. */
 		DEBUG(freetype, 1, "Can't get locale info for fallback font (langid=0x%x)", winlangid);
 		return false;