[BUG_FIXED] Fix crash bug when 'Close All But Me' is selected.

git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository@160 f5eea248-9336-0410-98b8-ebc06183d4e3
remotes/patch_testing@481
Don Ho 17 years ago
parent bfa6932d19
commit 7667355a21

@ -4686,7 +4686,11 @@ bool Notepad_plus::fileCloseAllButCurrent()
for (int i = 0 ; i < curIndex ; i++)
if (!fileClose())
{
curIndex -= i;
_pDocTab->activate(curIndex);
return false;
}
if (_pEditView->getNbDoc() > 1)
{

Loading…
Cancel
Save