summaryrefslogtreecommitdiff
path: root/src/runtime
diff options
context:
space:
mode:
Diffstat (limited to 'src/runtime')
-rw-r--r--src/runtime/c/pgf/parser.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/runtime/c/pgf/parser.c b/src/runtime/c/pgf/parser.c
index 66d77175d..d8d8d5fef 100644
--- a/src/runtime/c/pgf/parser.c
+++ b/src/runtime/c/pgf/parser.c
@@ -1247,9 +1247,9 @@ pgf_new_parse_state(PgfParsing* ps, size_t start_offset, BIND_TYPE bind_type)
pstate = &ps->after;
while (*pstate != NULL) {
if (bind_type != BIND_NONE) {
- if (ps->before->start_offset == start_offset &&
- ps->before->end_offset == start_offset &&
- !ps->before->needs_bind)
+ if ((*pstate)->start_offset == start_offset &&
+ (*pstate)->end_offset == start_offset &&
+ !(*pstate)->needs_bind)
return ps->before;
} else {
if ((*pstate)->start_offset == start_offset)