[BUG_FIXED] Fix a logical bug for important amount file to to open feature.

git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@905 f5eea248-9336-0410-98b8-ebc06183d4e3
This commit is contained in:
Don Ho 2012-05-01 14:04:35 +00:00
parent 1697b664b1
commit 0e67b99240

View File

@ -198,9 +198,9 @@ BufferID Notepad_plus::doOpen(const TCHAR *fileName, bool isReadOnly, int encodi
int answer = _nativeLangSpeaker.messageBox("NbFileToOpenImportantWaring", int answer = _nativeLangSpeaker.messageBox("NbFileToOpenImportantWaring",
_pPublicInterface->getHSelf(), _pPublicInterface->getHSelf(),
TEXT("Number of files to open are too important.\rAre you sure to open them?"), TEXT("Number of files to open are too important.\rAre you sure to open them?"),
TEXT("Number of files to open is too large"), TEXT("Amount of files to open is too large"),
MB_YESNO|MB_APPLMODAL); MB_YESNO|MB_APPLMODAL);
ok2Open = answer != IDYES; ok2Open = answer == IDYES;
} }
if (ok2Open) if (ok2Open)