aboutsummaryrefslogtreecommitdiffhomepage
path: root/common.c
diff options
context:
space:
mode:
authorGravatar axel <axel@liljencrantz.se>2006-10-09 11:22:48 +1000
committerGravatar axel <axel@liljencrantz.se>2006-10-09 11:22:48 +1000
commita321505351c015dcaebf1c14c67549c0e3f4b2fa (patch)
tree8c8ce4cde226286a538a42d4a9d4f8a9202749c4 /common.c
parenta074cd62bccf9a163d970d77d0c3ba86166045de (diff)
Allow escaped newlines within qoutes, expand them to themselves
darcs-hash:20061009012248-ac50b-a403705cfe166c7686a168bc017c50c316c28161.gz
Diffstat (limited to 'common.c')
-rw-r--r--common.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/common.c b/common.c
index 1e68908c..c0d43cef 100644
--- a/common.c
+++ b/common.c
@@ -1172,6 +1172,7 @@ wchar_t *unescape( const wchar_t * orig, int unescape_special )
{
case '\\':
case L'\'':
+ case L'\n':
{
in[out_pos]=in[in_pos];
break;
@@ -1231,6 +1232,7 @@ wchar_t *unescape( const wchar_t * orig, int unescape_special )
case '\\':
case L'$':
case '"':
+ case '\n':
{
in[out_pos]=in[in_pos];
break;