diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/ptx.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -388,6 +388,10 @@ copy_unescaped_string (const char *string) string++; break; + case '\0': /* lone backslash at end of string */ + /* ignore it */ + break; + default: *cursor++ = '\\'; *cursor++ = *string++; |