\n escape sequence is now correctly parsed

This commit is contained in:
Sasha Koshka 2023-11-14 16:20:56 -05:00
parent 5872791bfb
commit caa3d1d57b

View File

@ -205,7 +205,7 @@ static String readEscapedMapString (FILE *file, char delimiter) {
if (ch == '\\') {
ch = fgetc(file);
if (ch == EOF) break;
if (ch == '\n') {
if (ch == 'n') {
char newline = '\n';
XmdBufferPush(string, &newline);
continue;