Browse Source

Fixed bug for Bill because he is a lazy boi.

thebirk 6 years ago
parent
commit
a32f024d94
1 changed files with 1 additions and 1 deletions
  1. 1 1
      core/fmt/fmt.odin

+ 1 - 1
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;
 		}