From 8b3b659433739a3411ffcf567690b5168cfb3a30 Mon Sep 17 00:00:00 2001 From: gingerBill Date: Sat, 11 Jun 2022 15:16:17 +0100 Subject: [PATCH] Re-enable string quoting within records --- core/fmt/fmt.odin | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/fmt/fmt.odin b/core/fmt/fmt.odin index addaaf07e..4aaeb7807 100644 --- a/core/fmt/fmt.odin +++ b/core/fmt/fmt.odin @@ -952,9 +952,9 @@ fmt_string :: proc(fi: ^Info, s: string, verb: rune) { if ol, ok := fi.optional_len.?; ok { s = s[:min(len(s), ol)] } - // if !fi.in_bad && fi.record_level >= 0 && verb == 'v' { - // verb = 'q' - // } + if !fi.in_bad && fi.record_level >= 0 && verb == 'v' { + verb = 'q' + } switch verb { case 's', 'v':