Browse Source

Fix parameter escape sequence parsing

We decoded "\\n" as "n" rather than "\n".
tags/v1.8.90
Pierre Ossman 6 years ago
parent
commit
2a85489a19
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      vncviewer/parameters.cxx

+ 1
- 1
vncviewer/parameters.cxx View File

@@ -253,7 +253,7 @@ static bool decodeValue(const char* val, char* dest, size_t destSize) {
if (val[i+1] == replaceMap[j].second) {
dest[pos] = replaceMap[j].first;
escapedCharacter = true;
pos--;
i++;
break;
}
}

Loading…
Cancel
Save