Skip to content

Commit

Permalink
Code enhancement: correct parameter error to call of doOpen
Browse files Browse the repository at this point in the history
Fix #13150, close #13158
  • Loading branch information
alankilborn authored and donho committed Feb 20, 2023
1 parent d30b789 commit 5e2f5d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PowerEditor/src/NppIO.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 5e2f5d7

Please sign in to comment.