diff --git a/src/winio.c b/src/winio.c index c07e5c14..b4a143cb 100644 --- a/src/winio.c +++ b/src/winio.c @@ -2471,9 +2471,7 @@ char *display_string(const char *buf, size_t start_col, size_t len, bool start_index += wide_buf_len; } - /* Make sure that converted is at most len columns wide. */ null_at(&converted, index); - return converted; }