aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/libsok/sok-level-parser.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libsok/sok-level-parser.c b/src/libsok/sok-level-parser.c
index 75ac133..276ebcb 100644
--- a/src/libsok/sok-level-parser.c
+++ b/src/libsok/sok-level-parser.c
@@ -83,6 +83,7 @@ sok_level_parser_parse(
case ' ':
// advance
pos.x += (ofs > 0) ? ofs : 1;
+ ofs = 0;
break;
case '+':