fix in pgf_print_expr for lambda abstractions with more than one argument

This commit is contained in:
kr.angelov
2014-09-30 09:42:18 +00:00
parent 7223f905f0
commit cdac80b6b2

View File

@@ -1114,6 +1114,7 @@ pgf_print_expr(PgfExpr expr, PgfPrintContext* ctxt, int prec,
PgfPrintContext* c = ctxt; PgfPrintContext* c = ctxt;
while (c != NULL && var > 0) { while (c != NULL && var > 0) {
c = ctxt->next; c = ctxt->next;
var--;
} }
if (c == NULL) { if (c == NULL) {