diff options
author | antirez <antirez> | 2005-02-27 10:26:05 +0000 |
---|---|---|
committer | antirez <antirez> | 2005-02-27 10:26:05 +0000 |
commit | a52c478f7d07b44a58ef88974a06de8f3e7ed0e2 (patch) | |
tree | 9dfb37c296e83c91059b4c9d8fb193c621e26ee9 /jim.c | |
parent | 5546d7ea558fd6c0ade4c2fbf541d42f2ab44a5a (diff) | |
download | jimtcl-a52c478f7d07b44a58ef88974a06de8f3e7ed0e2.zip jimtcl-a52c478f7d07b44a58ef88974a06de8f3e7ed0e2.tar.gz jimtcl-a52c478f7d07b44a58ef88974a06de8f3e7ed0e2.tar.bz2 |
Fixed a bug in the parsing of <backslash><newline>. Now it's
rendered as a single space.
Diffstat (limited to 'jim.c')
-rw-r--r-- | jim.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1334,6 +1334,7 @@ static int Jim_Escape(char *dest, char *s, int slen) case 't': *p++ = 0x9; i++; break; case 'v': *p++ = 0xb; i++; break; case '\0': *p++ = '\\'; i++; break; + case '\n': *p++ = ' '; i++; break; default: if (s[i+1] == 'x') { int val = 0; |