Merge pull request #315 from thebirk/fix-bud-for-lazy-bill

Fixed bug for Bill because he is a lazy boi.
This commit is contained in:
gingerBill
2019-01-02 15:20:35 +00:00
committed by GitHub

View File

@@ -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;
}