diff options
Diffstat (limited to 'shell/source/win32/shlxthandler/thumbviewer/thumbviewer.cxx')
-rw-r--r-- | shell/source/win32/shlxthandler/thumbviewer/thumbviewer.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/shell/source/win32/shlxthandler/thumbviewer/thumbviewer.cxx b/shell/source/win32/shlxthandler/thumbviewer/thumbviewer.cxx index 63f1eec74c5a..20909bf82f66 100644 --- a/shell/source/win32/shlxthandler/thumbviewer/thumbviewer.cxx +++ b/shell/source/win32/shlxthandler/thumbviewer/thumbviewer.cxx @@ -57,7 +57,7 @@ namespace internal id is 2000 */ void LoadSignetImageFromResource(ZipFile::ZipContentBuffer_t& buffer) { - HRSRC hrc = FindResource(g_hModule, TEXT("#2000"), RT_RCDATA); + HRSRC hrc = FindResourceW(g_hModule, L"#2000", RT_RCDATA); DWORD size = SizeofResource(g_hModule, hrc); HGLOBAL hglob = LoadResource(g_hModule, hrc); char* data = reinterpret_cast<char*>(LockResource(hglob)); @@ -464,7 +464,7 @@ HRESULT STDMETHODCALLTYPE CThumbviewer::Extract(HBITMAP *phBmpImage) } catch(std::exception&) { - OutputDebugStringFormat( "CThumbviewer Extract ERROR!\n" ); + OutputDebugStringFormatA( "CThumbviewer Extract ERROR!\n" ); hr = E_FAIL; } return hr; |