From c1a2ccc1ca410b57e374e868811de5ffd10a5b68 Mon Sep 17 00:00:00 2001
From: deuce <>
Date: Thu, 22 May 2003 21:33:38 +0000
Subject: [PATCH] Fixed WIN_RHT

---
 src/uifc/uifc32.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/uifc/uifc32.c b/src/uifc/uifc32.c
index 90c107c575..db79086da2 100644
--- a/src/uifc/uifc32.c
+++ b/src/uifc/uifc32.c
@@ -1,4 +1,4 @@
-/* uifcc.c */
+/* uifc32.c */
 
 /* Curses implementation of UIFC (user interface) library based on uifc.c */
 
@@ -405,7 +405,7 @@ int ulist(int mode, int left, int top, int width, int *cur, int *bar
 	if(mode&WIN_L2R)
 		left=(s_right-s_left)/2-(width/2)+(api->scrn_width-s_right);
 	else if(mode&WIN_RHT)
-		left=s_right-(width+4+left);
+		left=s_right-width;
 	if(mode&WIN_T2B)
 		top=(api->scrn_len/2)-(height/2)-2;
 	else if(mode&WIN_BOT)
-- 
GitLab