From 390a0bffccb5319185b0644fa0d71685cea71107 Mon Sep 17 00:00:00 2001 From: Stefan Leichter Date: Sun, 27 Apr 2003 00:31:34 +0000 Subject: [PATCH] Removed W->A calls from FatalAppExitW. --- win32/except.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/win32/except.c b/win32/except.c index 8289788e4d3..e1f3f58d08f 100644 --- a/win32/except.c +++ b/win32/except.c @@ -513,7 +513,9 @@ void WINAPI FatalAppExitA( UINT action, LPCSTR str ) */ void WINAPI FatalAppExitW( UINT action, LPCWSTR str ) { - HMODULE mod = GetModuleHandleA( "user32.dll" ); + static const WCHAR User32DllW[] = {'u','s','e','r','3','2','.','d','l','l',0}; + + HMODULE mod = GetModuleHandleW( User32DllW ); MessageBoxW_funcptr pMessageBoxW = NULL; WARN("AppExit\n");