[ros-diffs] [cfinck] 30083: The authors list is actually in ANSI format, not UTF-8

cfinck at svn.reactos.org cfinck at svn.reactos.org
Sat Nov 3 01:30:11 CET 2007


Author: cfinck
Date: Sat Nov  3 03:30:11 2007
New Revision: 30083

URL: http://svn.reactos.org/svn/reactos?rev=30083&view=rev
Log:
The authors list is actually in ANSI format, not UTF-8

Modified:
    branches/rbuild/reactos/dll/win32/shell32/shell32_main.c

Modified: branches/rbuild/reactos/dll/win32/shell32/shell32_main.c
URL: http://svn.reactos.org/svn/reactos/branches/rbuild/reactos/dll/win32/shell32/shell32_main.c?rev=30083&r1=30082&r2=30083&view=diff
==============================================================================
--- branches/rbuild/reactos/dll/win32/shell32/shell32_main.c (original)
+++ branches/rbuild/reactos/dll/win32/shell32/shell32_main.c Sat Nov  3 03:30:11 2007
@@ -997,8 +997,8 @@
             {
                 WCHAR name[64];
 
-                /* authors list is in utf-8 format */
-                MultiByteToWideChar( CP_UTF8, 0, *pstr, -1, name, sizeof(name) / sizeof(WCHAR) );
+                /* authors list is in ANSI format */
+                MultiByteToWideChar( CP_ACP, 0, *pstr, -1, name, sizeof(name) / sizeof(WCHAR) );
                 SendDlgItemMessageW( hWnd, IDC_SHELL_ABOUT_AUTHORS_LISTBOX, LB_ADDSTRING, 0, (LPARAM)name );
                 pstr++;
             }




More information about the Ros-diffs mailing list