diff --git a/src/winio.c b/src/winio.c index c07e5c142f855a0946c8950fe69e6d5738b444c4..b4a143cbb87400eef2fbd712fa16646e50bb0626 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; }