mirror of
https://github.com/odin-lang/Odin.git
synced 2026-01-13 08:15:25 +00:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user