diff options
Diffstat (limited to 'src/nvim/buffer.c')
-rw-r--r-- | src/nvim/buffer.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/nvim/buffer.c b/src/nvim/buffer.c index 19c17a9d68..95eaf4dcf6 100644 --- a/src/nvim/buffer.c +++ b/src/nvim/buffer.c @@ -3273,9 +3273,6 @@ int build_stl_str_hl( // Two `%` in a row is the escape sequence to print a // single `%` in the output buffer. if (*fmt_p == '%') { - // Ignore the character if we're out of room in the output buffer. - if (out_p >= out_end_p) - break; *out_p++ = *fmt_p++; prevchar_isflag = prevchar_isitem = false; continue; |