summaryrefslogtreecommitdiff
path: root/xprop.c
diff options
context:
space:
mode:
Diffstat (limited to 'xprop.c')
-rw-r--r--xprop.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/xprop.c b/xprop.c
index e7a66d9..88229e8 100644
--- a/xprop.c
+++ b/xprop.c
@@ -160,8 +160,9 @@ Read_Quoted (FILE *stream)
c = Read_Char(stream);
if (c == '\n') {
ptr--; length++;
- } else
+ } else {
ptr++[0] = c; length--;
+ }
}
}
ptr++[0] = '\0';