From 20b410f149645e02d53fc05bc794fad44f2db5ee Mon Sep 17 00:00:00 2001 From: gingerBill Date: Wed, 15 Jan 2020 11:56:42 +0000 Subject: [PATCH] Fix #540 --- core/fmt/fmt.odin | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/fmt/fmt.odin b/core/fmt/fmt.odin index 48efc7e50..ec9a0888d 100644 --- a/core/fmt/fmt.odin +++ b/core/fmt/fmt.odin @@ -1036,7 +1036,8 @@ fmt_bit_set :: proc(fi: ^Info, v: any, name: string = "") { continue loop; } } - strings.write_i64(fi.buf, i64(i), 10); + v := i64(i) + info.lower; + strings.write_i64(fi.buf, v, 10); commas += 1; } }