From c1ba3a14b3b8e975f284c1269a8fcea6fbae1ac3 Mon Sep 17 00:00:00 2001 From: Don Ho Date: Mon, 29 Mar 2010 23:34:50 +0000 Subject: [PATCH] [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 --- PowerEditor/src/winmain.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PowerEditor/src/winmain.cpp b/PowerEditor/src/winmain.cpp index 3862703ed..9484508af 100644 --- a/PowerEditor/src/winmain.cpp +++ b/PowerEditor/src/winmain.cpp @@ -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