libpgf: simplify the loading of PgfCncCat

This commit is contained in:
kr.angelov
2012-02-17 14:26:08 +00:00
parent 4f8ad8c23f
commit aed7cc429a
4 changed files with 20 additions and 57 deletions

View File

@@ -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);
}