Winefile bugfix: filenames charset to DEFAULT_CHARSET

Igor Stepin is at xtm.ru
Tue Apr 29 12:02:37 CDT 2003


Files and folders in cyrillic shows incorrectly in ANSI codepage. I should be in system locale.

Changelog:
    font charset from ANSI to DEFAULT_CHARSET.

diff -ur -x Makefile wc/programs/winefile/winefile.c wn/programs/winefile/winefile.c
--- wc/programs/winefile/winefile.c	2002-10-18 05:20:25 +0500
+++ wn/programs/winefile/winefile.c	2003-03-03 22:40:14 +0400
@@ -2785,7 +2785,7 @@
 
 	Globals.haccel = LoadAccelerators(hinstance, MAKEINTRESOURCE(IDA_WINEFILE));
 
-	Globals.hfont = CreateFont(-MulDiv(8,GetDeviceCaps(hdc,LOGPIXELSY),72), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, _T("MS Sans Serif"));
+	Globals.hfont = CreateFont(-MulDiv(8,GetDeviceCaps(hdc,LOGPIXELSY),72), 0, 0, 0, 0, 0, 0, 0, DEFAULT_CHARSET, 0, 0, 0, 0, _T("MS Sans Serif"));
 
 	ReleaseDC(0, hdc);
 

 





More information about the wine-patches mailing list