Winefile bugfix: filenames charset to DEFAULT_CHARSET

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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);
 

 




[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux