Re: Convert MessageBox family functions to unicode

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

 



Hello.

Changelog:
    Actually use language identifier.

--- cvs/hq/wine/windows/msgbox.c	Sun Oct 20 11:08:07 2002
+++ wine/windows/msgbox.c	Sun Oct 20 11:08:29 2002
@@ -427,7 +427,7 @@
     HMODULE hUser32 = GetModuleHandleA("user32.dll");
     static const WCHAR msg_box_res_nameW[] = { 'M','S','G','B','O','X',0 };
 
-    if (!(hRes = FindResourceW(hUser32, msg_box_res_nameW, RT_DIALOGW)))
+    if (!(hRes = FindResourceExW(hUser32, msg_box_res_nameW, RT_DIALOGW, msgbox->dwLanguageId)))
         return 0;
     if (!(tmplate = (LPVOID)LoadResource(hUser32, hRes)))
         return 0;






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

  Powered by Linux