From 282069ad8c0e9a7305fd3a1b3a635b16f0d98ed0 Mon Sep 17 00:00:00 2001 From: deuce <> Date: Tue, 1 Jun 2004 04:52:54 +0000 Subject: [PATCH] Kill the rest of the char/uchar variables that hate me. --- src/uifc/uifc32.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/uifc/uifc32.c b/src/uifc/uifc32.c index 261cd1081e..e37ed75aa8 100644 --- a/src/uifc/uifc32.c +++ b/src/uifc/uifc32.c @@ -576,7 +576,7 @@ static void truncsp(char *str) int ulist(int mode, int left, int top, int width, int *cur, int *bar , char *initial_title, char **option) { - uchar line[256],shade[256],*ptr,longopt + uchar line[256],shade[256],*ptr ,search[MAX_OPLN],bline=0,*win; int height,y; int i,j,opts=0,s=0; /* s=search index into options */ @@ -588,7 +588,7 @@ int ulist(int mode, int left, int top, int width, int *cur, int *bar uint title_len; struct uifc_mouse_event mevnt; char *title; - int a,b,c; + int a,b,c,longopt; if((title=(char *)MALLOC(strlen(initial_title)+1))==NULL) { cprintf("UIFC line %d: error allocating %u bytes." @@ -1538,8 +1538,9 @@ int uinput(int mode, int left, int top, char *prompt, char *str, int max, int kmode) { unsigned char save_buf[2048],in_win[2048] - ,shade[160],height=3; + ,shade[160]; int width; + int height=3; int i,plen,slen,j; int iwidth; -- GitLab