Browse Source

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

Fixed bug for Bill because he is a lazy boi.
gingerBill 6 years ago
parent
commit
75aeb02c39
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] = ' ';
 			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);
 			write_string(fi.buf, str);
 			return;
 			return;
 		}
 		}