[FIX] Fix the compiling problem for ANSI build.

git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@629 f5eea248-9336-0410-98b8-ebc06183d4e3
remotes/x64
Don Ho 2010-03-29 23:34:50 +00:00
parent d7133d0011
commit c1ba3a14b3
1 changed files with 1 additions and 1 deletions

View File

@ -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