Code enhancement: correct parameter error to call of doOpen

Fix #13150, close #13158
This commit is contained in:
Alan Kilborn 2023-02-17 13:43:29 -05:00 committed by Don Ho
parent d30b789d67
commit 5e2f5d79aa
1 changed files with 1 additions and 1 deletions

View File

@ -1991,7 +1991,7 @@ void Notepad_plus::fileOpen()
size_t sz = fns.size();
for (size_t i = 0 ; i < sz ; ++i)
{
BufferID test = doOpen(fns.at(i).c_str(), fDlg.isReadOnly());
BufferID test = doOpen(fns.at(i).c_str(), false, fDlg.isReadOnly());
if (test != BUFFER_INVALID)
lastOpened = test;
}