From 90b685f8f41823fc0cf4d4ac7b04bd8b75436dc2 Mon Sep 17 00:00:00 2001 From: Calvin Rose Date: Tue, 26 Jun 2018 13:57:49 -0400 Subject: [PATCH] Fix getline not being pretty printed properly. --- src/core/string.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/string.c b/src/core/string.c index f4bac39c..d01a36d0 100644 --- a/src/core/string.c +++ b/src/core/string.c @@ -418,7 +418,7 @@ const uint8_t *dst_description(Dst x) { case DST_CFUNCTION: { Dst check = dst_table_get(dst_vm_registry, x); - if (!dst_checktype(x, DST_NIL)) { + if (dst_checktype(check, DST_SYMBOL)) { return dst_formatc("", check); } goto fallthrough;