summaryrefslogtreecommitdiff
path: root/src/runtime/c
diff options
context:
space:
mode:
authorkr.angelov <kr.angelov@gmail.com>2013-03-14 12:31:49 +0000
committerkr.angelov <kr.angelov@gmail.com>2013-03-14 12:31:49 +0000
commit411d91d410a38bf44e7892ce90ae79dda5364169 (patch)
treea2fb569339e7d6da9f287ec6d078d8da56f5c03b /src/runtime/c
parentd018502fca73104c0779ad327e9975d452a647b9 (diff)
bug fix in the linearizer in the C runtime
Diffstat (limited to 'src/runtime/c')
-rw-r--r--src/runtime/c/pgf/linearizer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/c/pgf/linearizer.c b/src/runtime/c/pgf/linearizer.c
index 2970994f1..3386b4da2 100644
--- a/src/runtime/c/pgf/linearizer.c
+++ b/src/runtime/c/pgf/linearizer.c
@@ -292,7 +292,7 @@ pgf_lzn_resolve(PgfLzn* lzn, PgfExpr expr, PgfCCat* ccat, GuPool* pool)
goto done;
}
case PGF_EXPR_META: {
- if (ccat != NULL && ccat->lindefs == NULL) {
+ if (ccat == NULL || ccat->lindefs == NULL) {
goto done;
}