Get rid of W->A calls: FatalAppExitW

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

 



Changelog
------------
        removed W->A calls from FatalAppExitW

--- wine/win32/except.c	Thu Apr 17 09:05:00 2003
+++ wine-build/win32/except.c	Wed Apr 16 17:15:16 2003
@@ -56,6 +56,7 @@
 WINE_DEFAULT_DEBUG_CHANNEL(seh);
 
 static PTOP_LEVEL_EXCEPTION_FILTER top_filter;
+static const WCHAR User32DllW[] = {'u','s','e','r','3','2','.','d','l','l',0};
 
 typedef INT (WINAPI *MessageBoxA_funcptr)(HWND,LPCSTR,LPCSTR,UINT);
 typedef INT (WINAPI *MessageBoxW_funcptr)(HWND,LPCWSTR,LPCWSTR,UINT);
@@ -513,7 +513,7 @@
  */
 void WINAPI FatalAppExitW( UINT action, LPCWSTR str )
 {
-    HMODULE mod = GetModuleHandleA( "user32.dll" );
+    HMODULE mod = GetModuleHandleW( User32DllW );
     MessageBoxW_funcptr pMessageBoxW = NULL;
 
     WARN("AppExit\n");

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

  Powered by Linux