forgot to add one #ifdef

This commit is contained in:
kr.angelov
2012-10-25 18:37:22 +00:00
parent b2965730f1
commit 118333eee8

View File

@@ -675,10 +675,12 @@ pgf_item_copy(PgfItem* item, GuPool* pool, PgfParsing* ps)
} }
memcpy(copy, item, sizeof(PgfItem)); memcpy(copy, item, sizeof(PgfItem));
#ifdef PGF_COUNTS_DEBUG
if (ps != NULL) { if (ps != NULL) {
ps->item_count++; ps->item_count++;
ps->real_count++; ps->real_count++;
} }
#endif
item->conts->ref_count++; item->conts->ref_count++;