aboutsummaryrefslogtreecommitdiff
path: root/src/libString/s_parse.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libString/s_parse.c')
-rw-r--r--src/libString/s_parse.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libString/s_parse.c b/src/libString/s_parse.c
index bcf2aef9..6691356f 100644
--- a/src/libString/s_parse.c
+++ b/src/libString/s_parse.c
@@ -19,13 +19,13 @@ s_parse(String *from, String *to)
from->ptr++;
for (;*from->ptr != '\'' && *from->ptr != '\0'; from->ptr++)
s_putc(to, *from->ptr);
- if (*from->ptr == '\'')
+ if (*from->ptr == '\'')
from->ptr++;
} else if (*from->ptr == '"') {
from->ptr++;
for (;*from->ptr != '"' && *from->ptr != '\0'; from->ptr++)
s_putc(to, *from->ptr);
- if (*from->ptr == '"')
+ if (*from->ptr == '"')
from->ptr++;
} else {
for (;!isspace(*from->ptr) && *from->ptr != '\0'; from->ptr++)