Browse Source

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
commit
8baa1553fc
  1. 2
      PowerEditor/src/NppIO.cpp

2
PowerEditor/src/NppIO.cpp

@ -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