git.asbjorn.biz
/
swftools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b49af45
)
fixed dict_dump()
author
kramm
<kramm>
Tue, 23 Dec 2008 19:04:03 +0000
(19:04 +0000)
committer
kramm
<kramm>
Tue, 23 Dec 2008 19:04:03 +0000
(19:04 +0000)
lib/q.c
patch
|
blob
|
history
diff --git
a/lib/q.c
b/lib/q.c
index
0b19aa9
..
221ea5a
100644
(file)
--- 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;t<h->hashsize;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);