Get rid of W->A calls: FatalAppExitW
Stefan Leichter
Stefan.Leichter at camLine.com
Wed Apr 23 06:38:32 CDT 2003
Changelog
------------
removed W->A calls from FatalAppExitW
-------------- next part --------------
--- 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");
More information about the wine-patches
mailing list