[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:
parent
1697b664b1
commit
0e67b99240
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user