From 24e1aff974499e7e2cb0996a946a6a2d34fd851d Mon Sep 17 00:00:00 2001 From: Chris Young Date: Sun, 9 Dec 2012 20:00:59 +0000 Subject: Reverse the logic as well as the req text --- amiga/download.c | 2 +- amiga/gui.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'amiga') diff --git a/amiga/download.c b/amiga/download.c index 4243e6ddc..c0c88bb0b 100644 --- a/amiga/download.c +++ b/amiga/download.c @@ -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; } diff --git a/amiga/gui.c b/amiga/gui.c index e2728c270..bace20510 100755 --- a/amiga/gui.c +++ b/amiga/gui.c @@ -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) -- cgit v1.2.3