diff options
Diffstat (limited to 'hash.c')
-rw-r--r-- | hash.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -230,7 +230,10 @@ cnum cobj_hash_op(val obj) static val print_key_val(val out, val key, val value) { - format(out, lit(" (~s ~s)"), key, value, nao); + if (value) + format(out, lit(" (~s ~s)"), key, value, nao); + else + format(out, lit(" (~s)"), key, nao); return nil; } |