From a32f024d94d79c8bebe02907c33e817c6711863c Mon Sep 17 00:00:00 2001 From: thebirk Date: Wed, 2 Jan 2019 16:18:55 +0100 Subject: [PATCH] Fixed bug for Bill because he is a lazy boi. --- core/fmt/fmt.odin | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/fmt/fmt.odin b/core/fmt/fmt.odin index e358d00e0..c166b426a 100644 --- a/core/fmt/fmt.odin +++ b/core/fmt/fmt.odin @@ -676,7 +676,7 @@ fmt_float :: proc(fi: ^Fmt_Info, v: f64, bit_size: int, verb: rune) { str[0] = ' '; } - if len(str) > 1 && str[1] == 'N' && str[1] == 'I' { + if len(str) > 1 && (str[1] == 'N' || str[1] == 'I') { write_string(fi.buf, str); return; }