From 5e2f5d79aa8325a3db9c3b811d80e9b7ce42b51c Mon Sep 17 00:00:00 2001 From: Alan Kilborn Date: Fri, 17 Feb 2023 13:43:29 -0500 Subject: [PATCH] Code enhancement: correct parameter error to call of doOpen Fix #13150, close #13158 --- PowerEditor/src/NppIO.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PowerEditor/src/NppIO.cpp b/PowerEditor/src/NppIO.cpp index f818aadda..4441aa631 100644 --- a/PowerEditor/src/NppIO.cpp +++ b/PowerEditor/src/NppIO.cpp @@ -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; }