diff options
Diffstat (limited to 'src/stdlib')
| -rw-r--r-- | src/stdlib/tables.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/stdlib/tables.c b/src/stdlib/tables.c index 6e37751e..bda55375 100644 --- a/src/stdlib/tables.c +++ b/src/stdlib/tables.c @@ -534,7 +534,7 @@ Text_t Table$as_text(const void *obj, bool colorize, const TypeInfo_t *type) { __typeof(type->TableInfo) table = type->TableInfo; if (!t) { - return Text$concat(Text("{"), generic_as_text(NULL, false, table.key), Text("="), + return Text$concat(Text("{"), generic_as_text(NULL, false, table.key), Text(":"), generic_as_text(NULL, false, table.value), Text("}")); } @@ -545,7 +545,7 @@ Text_t Table$as_text(const void *obj, bool colorize, const TypeInfo_t *type) { void *entry = GET_ENTRY(*t, i); text = Text$concat(text, generic_as_text(entry, colorize, table.key)); if (table.value != &Void$info) - text = Text$concat(text, Text("="), generic_as_text(entry + val_off, colorize, table.value)); + text = Text$concat(text, Text(": "), generic_as_text(entry + val_off, colorize, table.value)); } if (t->fallback) { |
