[FIX] Fix the compiling problem for ANSI build.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@629 f5eea248-9336-0410-98b8-ebc06183d4e3remotes/x64
parent
d7133d0011
commit
c1ba3a14b3
|
@ -393,7 +393,7 @@ int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE, LPSTR, int)
|
|||
const wchar_t * text = WcharMbcsConvertor::getInstance()->char2wchar(ex.what(), CP_ACP);
|
||||
::MessageBox(Notepad_plus_Window::gNppHWND, text, TEXT("C++ Exception"), MB_OK);
|
||||
#else
|
||||
::MessageBox(Notepad_plus::gNppHWND, ex.what(), TEXT("C++ Exception"), MB_OK);
|
||||
::MessageBox(Notepad_plus_Window::gNppHWND, ex.what(), TEXT("C++ Exception"), MB_OK);
|
||||
#endif
|
||||
doException(notepad_plus_plus);
|
||||
} catch(...) { //this shouldnt ever have to happen
|
||||
|
|
Loading…
Reference in New Issue