diff options
author | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2019-05-10 21:34:22 +0100 |
---|---|---|
committer | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2019-05-10 21:34:22 +0100 |
commit | a5051c7128ee7ee9b0bc26a81ad7eb3af199d7ca (patch) | |
tree | 41f3a994926a6d6dfe4763fa90ef779cdda4cce7 /frontends | |
parent | 97010ecef521de524846734e093db89a18f81f62 (diff) | |
download | netsurf-a5051c7128ee7ee9b0bc26a81ad7eb3af199d7ca.tar.gz netsurf-a5051c7128ee7ee9b0bc26a81ad7eb3af199d7ca.tar.bz2 |
Use new beep function
Diffstat (limited to 'frontends')
-rw-r--r-- | frontends/amiga/drag.c | 5 | ||||
-rw-r--r-- | frontends/amiga/history.c | 2 |
2 files changed, 3 insertions, 4 deletions
diff --git a/frontends/amiga/drag.c b/frontends/amiga/drag.c index ee831f43d..5ae3f25c6 100644 --- a/frontends/amiga/drag.c +++ b/frontends/amiga/drag.c @@ -109,7 +109,6 @@ void ami_drag_save(struct Window *win) { ULONG which = WBO_NONE, type; char path[1025], dpath[1025]; - struct Screen *scrn = ami_gui_get_screen(); path[0] = 0; /* ensure path is terminated */ @@ -135,7 +134,7 @@ void ami_drag_save(struct Window *win) { if(drag_save == GUI_SAVE_TEXT_SELECTION) ami_drag_selection((struct gui_window *)drag_save_data); - else DisplayBeep(scrn); + else ami_gui_beep(); drag_save = 0; drag_save_data = NULL; @@ -144,7 +143,7 @@ void ami_drag_save(struct Window *win) if(path[0] == '\0') { - DisplayBeep(scrn); + ami_gui_beep(); drag_save = 0; drag_save_data = NULL; return; diff --git a/frontends/amiga/history.c b/frontends/amiga/history.c index a505101ae..6e33464a6 100644 --- a/frontends/amiga/history.c +++ b/frontends/amiga/history.c @@ -200,7 +200,7 @@ ami_history_global_drag_end(struct ami_corewindow *ami_cw, int x, int y) } if((ok == false) || (url == NULL)) { - DisplayBeep(ami_gui_get_screen()); + ami_gui_beep(); } else if(url) { if((gwin = ami_window_at_pointer(AMINS_WINDOW))) { browser_window_navigate(ami_gui2_get_browser_window(gwin), |