Fix behavior of fmt_string() to not truncate strings to width

This commit is contained in:
Oskar Nordquist
2022-10-26 11:21:42 -04:00
parent a55e90fefd
commit dcb873c88d

View File

@@ -975,7 +975,7 @@ fmt_string :: proc(fi: ^Info, s: string, verb: rune) {
}
}
else {
io.write_string(fi.writer, s[:fi.width], &fi.n)
io.write_string(fi.writer, s, &fi.n)
}
}
else