diff options
author | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2012-12-09 20:00:59 +0000 |
---|---|---|
committer | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2012-12-09 20:00:59 +0000 |
commit | 24e1aff974499e7e2cb0996a946a6a2d34fd851d (patch) | |
tree | 42fc0be8b146d3c58b89a3eeb6e4331d964d0cc9 | |
parent | 388ddc6dbd11e28740538a4d39d04f086e16c0c0 (diff) | |
download | netsurf-24e1aff974499e7e2cb0996a946a6a2d34fd851d.tar.gz netsurf-24e1aff974499e7e2cb0996a946a6a2d34fd851d.tar.bz2 |
Reverse the logic as well as the req text
-rw-r--r-- | amiga/download.c | 2 | ||||
-rwxr-xr-x | amiga/gui.c | 2 |
2 files changed, 2 insertions, 2 deletions
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) |