diff options
author | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2016-05-01 14:00:47 +0100 |
---|---|---|
committer | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2016-05-01 14:00:47 +0100 |
commit | 4d18947adb21aa3e06f2431900111ad17b58d80d (patch) | |
tree | dfd8054c3a3ecc754b542a2c5d12b3dcddf49a6f /amiga/history_local.c | |
parent | 67805f407fed6fbc061f83db7e11ee3474a0a79b (diff) | |
download | netsurf-4d18947adb21aa3e06f2431900111ad17b58d80d.tar.gz netsurf-4d18947adb21aa3e06f2431900111ad17b58d80d.tar.bz2 |
Update to new warn_user API
Diffstat (limited to 'amiga/history_local.c')
-rwxr-xr-x | amiga/history_local.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/amiga/history_local.c b/amiga/history_local.c index f11c78473..3016cbf16 100755 --- a/amiga/history_local.c +++ b/amiga/history_local.c @@ -76,7 +76,7 @@ static void ami_history_redraw(struct history_window *hw) GetAttr(SCROLLER_Top,hw->objects[OID_HSCROLL],(ULONG *)&xs); GetAttr(SCROLLER_Top,hw->objects[OID_VSCROLL],(ULONG *)&ys); if(ami_gui_get_space_box(hw->objects[GID_BROWSER], &bbox) != NSERROR_OK) { - warn_user("NoMemory", ""); + amiga_warn_user("NoMemory", ""); return; } @@ -193,7 +193,7 @@ static bool ami_history_click(struct history_window *hw, uint16 code) ULONG xs, ys; if(ami_gui_get_space_box(hw->objects[GID_BROWSER], &bbox) != NSERROR_OK) { - warn_user("NoMemory", ""); + amiga_warn_user("NoMemory", ""); return false; } @@ -259,7 +259,7 @@ BOOL ami_history_event(struct history_window *hw) GetAttr(SCROLLER_Top, hw->objects[OID_VSCROLL], (ULONG *)&ys); if(ami_gui_get_space_box(hw->objects[GID_BROWSER], &bbox) != NSERROR_OK) { - warn_user("NoMemory", ""); + amiga_warn_user("NoMemory", ""); break; } @@ -299,7 +299,7 @@ void ami_history_update_extent(struct history_window *hw) browser_window_history_size(hw->gw->bw, &width, &height); if(ami_gui_get_space_box(hw->objects[GID_BROWSER], &bbox) != NSERROR_OK) { - warn_user("NoMemory", ""); + amiga_warn_user("NoMemory", ""); return; } |