Get rid of W->A call.
This commit is contained in:
parent
e7a49e7fa2
commit
76d4edf1f0
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue