diff options
| author | gingerBill <gingerBill@users.noreply.github.com> | 2019-01-02 15:20:35 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-01-02 15:20:35 +0000 |
| commit | 75aeb02c395e3689237ff62fdf99f02c606242fd (patch) | |
| tree | b5ce67e0d362a0a90b83ecd7aa57e1953c94588f | |
| parent | 37d993c417167bc3781c05721a690fa936d45f50 (diff) | |
| parent | a32f024d94d79c8bebe02907c33e817c6711863c (diff) | |
Merge pull request #315 from thebirk/fix-bud-for-lazy-bill
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; } |