aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPaul Duncan <pabs@pablotron.org>2019-01-07 22:40:52 -0500
committerPaul Duncan <pabs@pablotron.org>2019-01-07 22:40:52 -0500
commit05111ba3e59b96c51e1fa7c24d673eb2d77ec1cd (patch)
treecf39133ec53f9f7c408f43a861d1c1e23b199c17 /src
parentc31caa18f969199a3fb91995ae08b29368cf010d (diff)
downloadsok-05111ba3e59b96c51e1fa7c24d673eb2d77ec1cd.tar.bz2
sok-05111ba3e59b96c51e1fa7c24d673eb2d77ec1cd.zip
fix floor RLE parsing
Diffstat (limited to 'src')
-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 '+':