Fix regression: can't open folder via cammand argument

Fix one incorrect PathFileExists replacement.

Fix #15645, close #15646
pull/15655/head
xomx 2 months ago committed by Don Ho
parent 595074152d
commit 8baa1553fc

@ -331,7 +331,7 @@ BufferID Notepad_plus::doOpen(const wstring& fileName, bool isRecursive, bool is
if (!isSnapshotMode) // if not backup mode, or backupfile path is invalid
{
if (!doesFileExist(longFileName) && !globbing)
if (!doesPathExist(longFileName) && !globbing)
{
wstring longFileDir(longFileName);
PathRemoveFileSpec(longFileDir);

Loading…
Cancel
Save