mirror of
https://github.com/notepad-plus-plus/notepad-plus-plus.git
synced 2025-07-28 08:14:18 +02:00
Fix regression: can't open folder via cammand argument
Fix one incorrect PathFileExists replacement. Fix #15645, close #15646
This commit is contained in:
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 (!isSnapshotMode) // if not backup mode, or backupfile path is invalid
|
||||||
{
|
{
|
||||||
if (!doesFileExist(longFileName) && !globbing)
|
if (!doesPathExist(longFileName) && !globbing)
|
||||||
{
|
{
|
||||||
wstring longFileDir(longFileName);
|
wstring longFileDir(longFileName);
|
||||||
PathRemoveFileSpec(longFileDir);
|
PathRemoveFileSpec(longFileDir);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user