Get rid of W->A call.

This commit is contained in:
Jacek Caban 2005-01-03 14:39:08 +00:00 committed by Alexandre Julliard
parent e7a49e7fa2
commit 76d4edf1f0
1 changed files with 3 additions and 1 deletions

View File

@ -829,10 +829,12 @@ BOOL WINAPI ShellAboutW( HWND hWnd, LPCWSTR szApp, LPCWSTR szOtherStuff,
HRSRC hRes; HRSRC hRes;
LPVOID template; LPVOID template;
BOOL bRet; BOOL bRet;
static const WCHAR wszSHELL_ABOUT_MSGBOX[] =
{'S','H','E','L','L','_','A','B','O','U','T','_','M','S','G','B','O','X',0};
TRACE("\n"); TRACE("\n");
if(!(hRes = FindResourceA(shell32_hInstance, "SHELL_ABOUT_MSGBOX", (LPSTR)RT_DIALOG))) if(!(hRes = FindResourceW(shell32_hInstance, wszSHELL_ABOUT_MSGBOX, (LPWSTR)RT_DIALOG)))
return FALSE; return FALSE;
if(!(template = (LPVOID)LoadResource(shell32_hInstance, hRes))) if(!(template = (LPVOID)LoadResource(shell32_hInstance, hRes)))
return FALSE; return FALSE;