1
0
Fork 0

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:
James Turner 2017-07-25 10:00:19 +01:00
parent f507ca1452
commit c000f1fb43

View file

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