From af4b52f47ff13e2acb2eef81502e63ffc53d77ce Mon Sep 17 00:00:00 2001
From: deuce <>
Date: Sat, 13 Jul 2019 22:02:58 +0000
Subject: [PATCH] Fix another issues caused by the vmem_gettext() conversion.

---
 src/uifc/uifc32.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/uifc/uifc32.c b/src/uifc/uifc32.c
index 7d6627de12..6184cf088f 100644
--- a/src/uifc/uifc32.c
+++ b/src/uifc/uifc32.c
@@ -1674,7 +1674,7 @@ int ulist(int mode, int left, int top, int width, int *cur, int *bar
 							if(mode&WIN_ESC || (mode&WIN_CHE && api->changes)) {
 								vmem_gettext(s_left+left,s_top+top,s_left
 									+left+width-1,s_top+top+height-1,tmp_buffer);
-								for(i=1;i<(width*height*2);i+=2)
+								for(i=0; i < (width * height);i++)
 									set_vmem_attr(&tmp_buffer[i], lclr|(cclr<<4));
 								vmem_puttext(s_left+left,s_top+top,s_left
 									+left+width-1,s_top+top+height-1,tmp_buffer);
-- 
GitLab