Fix error message of openning file with '=' as end of file name

Ignore '=' at the end of a file name.

Fix #13344, close #13917
This commit is contained in:
jofon 2023-07-22 14:57:15 +01:00 committed by Don Ho
parent 4df27c8e8b
commit 3ea789caea
1 changed files with 1 additions and 1 deletions

View File

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