summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2014-03-23 22:53:06 +0000
committerJeremy Harris <jgh146exb@wizmail.org>2014-03-23 22:53:06 +0000
commit823ad74fc28c27c9b673fcb137c84475ef9dab3f (patch)
tree52a06587ebf94ee5ebed2ca66f3954c05b3de78f
parentd9784128d573baed950d9b0c6aef1c864c33b4b4 (diff)
Fix string_unprinting()
-rw-r--r--src/src/string.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/src/string.c b/src/src/string.c
index 94d61b1a3..6f54cc624 100644
--- a/src/src/string.c
+++ b/src/src/string.c
@@ -374,7 +374,8 @@ while (*p)
{
if (*p == '\\')
{
- *q = string_interpret_escape(&p);
+ *q++ = string_interpret_escape(&p);
+ p++;
}
else
{