From: kramm Date: Tue, 23 Dec 2008 19:04:03 +0000 (+0000) Subject: fixed dict_dump() X-Git-Tag: release-0-9-0~606 X-Git-Url: http://git.asbjorn.biz/?p=swftools.git;a=commitdiff_plain;h=54404e00634570d9d7e37f45969c1c9317a2e82e fixed dict_dump() --- diff --git a/lib/q.c b/lib/q.c index 0b19aa9..221ea5a 100644 --- a/lib/q.c +++ b/lib/q.c @@ -686,7 +686,7 @@ void dict_dump(dict_t*h, FILE*fi, const char*prefix) for(t=0;thashsize;t++) { dictentry_t*e = h->slots[t]; while(e) { - if(h->key_type==&charptr_type) { + if(h->key_type!=&charptr_type) { fprintf(fi, "%s%08x=%08x\n", prefix, e->key, e->data); } else { fprintf(fi, "%s%s=%08x\n", prefix, e->key, e->data);