diff options
| author | thebirk <pingnor@gmail.com> | 2019-01-02 16:18:55 +0100 |
|---|---|---|
| committer | thebirk <pingnor@gmail.com> | 2019-01-02 16:18:55 +0100 |
| commit | a32f024d94d79c8bebe02907c33e817c6711863c (patch) | |
| tree | b5ce67e0d362a0a90b83ecd7aa57e1953c94588f | |
| parent | bcbb59dc111cefbe2f5dc32d933efa6022a18b1f (diff) | |
Fixed bug for Bill because he is a lazy boi.
| -rw-r--r-- | core/fmt/fmt.odin | 2 |
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; } |