From 8a6dd74ac0c833a617a5bec36bf762da5cf06093 Mon Sep 17 00:00:00 2001 From: night0721 Date: Sat, 9 Nov 2024 12:31:39 +0000 Subject: [PATCH] Fix after deleted unused variable --- vip.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/vip.c b/vip.c index 2ebfb95..388a324 100644 --- a/vip.c +++ b/vip.c @@ -585,7 +585,6 @@ void draw_rows(void) } else if (hl[j] == NORMAL) { if (strncmp(current_color, WHITE_BG, COLOR_LEN)) { memcpy(current_color, WHITE_BG, COLOR_LEN); - current_color_len = COLOR_LEN; bprintf(WHITE_BG); } bprintf("%c", c[j]); @@ -594,7 +593,6 @@ void draw_rows(void) char *color = syntax_to_color(hl[j], &len); if (strncmp(current_color, color, len)) { memcpy(current_color, color, len); - current_color_len = len; bprintf(color); } free(color);