diff --git a/PowerEditor/src/winmain.cpp b/PowerEditor/src/winmain.cpp index 48bf90d7d..93bddd3ae 100644 --- a/PowerEditor/src/winmain.cpp +++ b/PowerEditor/src/winmain.cpp @@ -111,7 +111,7 @@ void parseCommandLine(const TCHAR* commandLine, ParamVector& paramVector) { case '\"': //quoted filename, ignore any following whitespace { - if (!isStringInArg && i > 0 && cmdLinePtr[i-1] == '=') + if (!isStringInArg && !isInFile && i > 0 && cmdLinePtr[i-1] == '=') { isStringInArg = true; }