Fixed command line parsing logic error. Root cause: When you double click a file (where NPP has already replaced original Windows Notepad.exe) command like something like below is generated - -notepadStyleCmdline -z "C:\WINDOWS\system32\NOTEPAD.EXE" F:\FakePath\PowerEditor\bin\change.log After processing this command line, final command line is left as " F:\FakePath\PowerEditor\bin\change.log while others are ignored. Notice, quote " here just before the actual file path. Later on, MS PAI ::PathIsRelative treats it as relative path because of quote " rather considering single file. It is expected too as per input to this API. Now, notepad++ tries to open all the file from path F:\FakePath\PowerEditor\bin\ (in above case) along with file F:\FakePath\PowerEditor\bin\change.log. Close #6215, fix #6211pull/6222/head
parent
a739eade8e
commit
c16f7bbc1e
Loading…
Reference in new issue