summaryrefslogtreecommitdiff
path: root/src/runtime/c/pgf/printer.c
diff options
context:
space:
mode:
authorkr.angelov <kr.angelov@gmail.com>2012-02-17 14:26:08 +0000
committerkr.angelov <kr.angelov@gmail.com>2012-02-17 14:26:08 +0000
commitaed7cc429afb6dfec2db4599f3f6cdf274fde7a1 (patch)
tree781108a7505764a4623a61d17af7ccf15d229bc3 /src/runtime/c/pgf/printer.c
parent4f8ad8c23f955b2d8df48ccfa1e8e8621483c3dc (diff)
libpgf: simplify the loading of PgfCncCat
Diffstat (limited to 'src/runtime/c/pgf/printer.c')
-rw-r--r--src/runtime/c/pgf/printer.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/runtime/c/pgf/printer.c b/src/runtime/c/pgf/printer.c
index 52135912b..3d13147b6 100644
--- a/src/runtime/c/pgf/printer.c
+++ b/src/runtime/c/pgf/printer.c
@@ -290,8 +290,7 @@ pgf_print_cnccat(GuMapItor* fn, const void* key, void* value,
gu_puts("\n ", wtr, err);
}
- GuString lbl = gu_list_index(cnccat->labels, i);
- gu_string_write(lbl, wtr, err);
+ gu_string_write(cnccat->labels[i], wtr, err);
}
gu_puts("]\n", wtr, err);
}