diff --git a/core/fmt/fmt.odin b/core/fmt/fmt.odin index 31eaa965d..d9f379da0 100644 --- a/core/fmt/fmt.odin +++ b/core/fmt/fmt.odin @@ -898,6 +898,11 @@ fmt_string :: proc(fi: ^Info, s: string, verb: rune) { switch verb { case 's', 'v': strings.write_string(fi.buf, s); + if fi.width_set && len(s) < fi.width { + for i in 0..