mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-23 04:26:50 +03:00
Use new beep function
This commit is contained in:
parent
97010ecef5
commit
a5051c7128
@ -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;
|
||||
|
@ -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),
|
||||
|
Loading…
Reference in New Issue
Block a user