From aa5bfb5d5f11b1e363cd8f11bdfbb5e2c7b4b68c Mon Sep 17 00:00:00 2001 From: Don Ho Date: Sun, 20 Feb 2011 00:11:03 +0000 Subject: [PATCH] [BUG_FIXED] Fix the inverse of title and message for some MessageBox. git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@738 f5eea248-9336-0410-98b8-ebc06183d4e3 --- PowerEditor/src/localization.cpp | 2 +- PowerEditor/src/localization.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/PowerEditor/src/localization.cpp b/PowerEditor/src/localization.cpp index efde8eb12..0da298d22 100644 --- a/PowerEditor/src/localization.cpp +++ b/PowerEditor/src/localization.cpp @@ -1166,7 +1166,7 @@ bool NativeLangSpeaker::getMsgBoxLang(const char *msgBoxTagName, generic_string return false; } -int NativeLangSpeaker::messageBox(const char *msgBoxTagName, HWND hWnd, TCHAR *defaultTitle, TCHAR *defaultMessage, int msgBoxType) +int NativeLangSpeaker::messageBox(const char *msgBoxTagName, HWND hWnd, TCHAR *defaultMessage, TCHAR *defaultTitle, int msgBoxType) { generic_string msg, title; if (getMsgBoxLang(msgBoxTagName, title, msg)) diff --git a/PowerEditor/src/localization.h b/PowerEditor/src/localization.h index 89fe821bb..531c44b43 100644 --- a/PowerEditor/src/localization.h +++ b/PowerEditor/src/localization.h @@ -57,7 +57,7 @@ public: return _nativeLangEncoding; }; bool getMsgBoxLang(const char *msgBoxTagName, generic_string & title, generic_string & message); - int messageBox(const char *msgBoxTagName, HWND hWnd, TCHAR *title, TCHAR *message, int msgBoxType); + int messageBox(const char *msgBoxTagName, HWND hWnd, TCHAR *message, TCHAR *title, int msgBoxType); private: TiXmlNodeA *_nativeLangA; int _nativeLangEncoding;