\n escape sequence is now correctly parsed
This commit is contained in:
parent
5872791bfb
commit
caa3d1d57b
@ -205,7 +205,7 @@ static String readEscapedMapString (FILE *file, char delimiter) {
|
|||||||
if (ch == '\\') {
|
if (ch == '\\') {
|
||||||
ch = fgetc(file);
|
ch = fgetc(file);
|
||||||
if (ch == EOF) break;
|
if (ch == EOF) break;
|
||||||
if (ch == '\n') {
|
if (ch == 'n') {
|
||||||
char newline = '\n';
|
char newline = '\n';
|
||||||
XmdBufferPush(string, &newline);
|
XmdBufferPush(string, &newline);
|
||||||
continue;
|
continue;
|
||||||
|
Loading…
Reference in New Issue
Block a user