aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorthebirk <pingnor@gmail.com>2019-01-02 16:18:55 +0100
committerthebirk <pingnor@gmail.com>2019-01-02 16:18:55 +0100
commita32f024d94d79c8bebe02907c33e817c6711863c (patch)
treeb5ce67e0d362a0a90b83ecd7aa57e1953c94588f
parentbcbb59dc111cefbe2f5dc32d933efa6022a18b1f (diff)
Fixed bug for Bill because he is a lazy boi.
-rw-r--r--core/fmt/fmt.odin2
1 files changed, 1 insertions, 1 deletions
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;
}