mirror of
https://github.com/LIV2/WinUAE.git
synced 2025-12-06 00:12:52 +00:00
Do not escaper single quote in minimal escaping mode.
This commit is contained in:
parent
94d8f5b1a1
commit
7726099e4b
@ -577,7 +577,7 @@ static TCHAR *cfgfile_escape (const TCHAR *s, const TCHAR *escstr, bool quote, b
|
||||
TCHAR c = s[i];
|
||||
if (c == 0)
|
||||
break;
|
||||
if ((c == '\\' && !min) || c == '\"' || c == '\'') {
|
||||
if ((c == '\\' && !min) || c == '\"' || (c == '\'' && !min)) {
|
||||
*p++ = '\\';
|
||||
*p++ = c;
|
||||
} else if (c >= 32 && !quote) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user