Skip to content
Snippets Groups Projects
Commit 8c36f71f authored by Deucе's avatar Deucе :ok_hand_tone4:
Browse files

Don't clear exit_flags.

This should ensure that once quit is used, everything exits, but
apparently, this never worked.
parent 7b991d9a
No related branches found
No related tags found
1 merge request!455Update branch with changes from master
......@@ -362,6 +362,7 @@ int uifcini32(uifcapi_t* uifcapi)
for(i=0; i<MAX_BUFS; i++)
sav[i].buf=NULL;
api->savnum=0;
api->exit_flags = 0;
api->initialized=TRUE;
......@@ -650,7 +651,6 @@ int ulist(uifc_winmode_t mode, int left, int top, int width, int *cur, int *bar
BOOL shadow = api->scrn_width >= 80;
if(cur==NULL) cur=&tmpcur;
api->exit_flags = 0;
hclr=api->hclr;
lclr=api->lclr;
bclr=api->bclr;
......@@ -2144,7 +2144,6 @@ int ugetstr(int left, int top, int width, char *outstr, int max, long mode, int
char *pastebuf=NULL;
unsigned char *pb=NULL;
api->exit_flags = 0;
if((str=alloca(max+1))==NULL) {
cprintf("UIFC line %d: error allocating %u bytes\r\n"
,__LINE__,(max+1));
......@@ -2751,7 +2750,6 @@ void showbuf(uifc_winmode_t mode, int left, int top, int width, int height, cons
uint title_len=0;
struct mouse_event mevnt;
api->exit_flags = 0;
_setcursortype(_NOCURSOR);
title_len=strlen(title);
......@@ -3059,7 +3057,6 @@ static void help(void)
long l;
FILE *fp;
api->exit_flags = 0;
if(api->helpbuf==NULL && api->helpixbfile[0]==0)
return;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment