Reverse the logic as well as the req text
This commit is contained in:
parent
388ddc6dbd
commit
24e1aff974
|
@ -421,6 +421,6 @@ BOOL ami_download_check_overwrite(const char *file, struct Window *win, ULONG si
|
|||
}
|
||||
else return TRUE;
|
||||
|
||||
if(res == 0) return TRUE;
|
||||
if(res == 1) return TRUE;
|
||||
else return FALSE;
|
||||
}
|
||||
|
|
|
@ -3352,7 +3352,7 @@ void ami_close_all_tabs(struct gui_window_2 *gwin)
|
|||
int32 res = ami_warn_user_multi(req_body, "Yes", "No", gwin->win);
|
||||
free(req_body);
|
||||
|
||||
if(res == 1) return;
|
||||
if(res == 0) return;
|
||||
}
|
||||
|
||||
if(gwin->tabs)
|
||||
|
|
Loading…
Reference in New Issue