Fix back-slashes in quoted args in the launcher
Logic was messed up, back-slashed got ignored due to the escaping logic.
This commit is contained in:
parent
f507ca1452
commit
c000f1fb43
1 changed files with 2 additions and 0 deletions
|
@ -67,6 +67,8 @@ QList<LauncherArgumentTokenizer::Arg> LauncherArgumentTokenizer::tokenize(QStrin
|
|||
// check for escaped double-quote inside quoted value
|
||||
if (nc == QChar('"')) {
|
||||
++index;
|
||||
} else {
|
||||
value.append(c); // normal '\' inside quoted
|
||||
}
|
||||
} else if (c == QChar('"')) {
|
||||
state = Value;
|
||||
|
|
Loading…
Add table
Reference in a new issue