summaryrefslogtreecommitdiff
path: root/amiga/plotters.c
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2016-05-01 14:00:47 +0100
committerChris Young <chris@unsatisfactorysoftware.co.uk>2016-05-01 14:00:47 +0100
commit4d18947adb21aa3e06f2431900111ad17b58d80d (patch)
treedfd8054c3a3ecc754b542a2c5d12b3dcddf49a6f /amiga/plotters.c
parent67805f407fed6fbc061f83db7e11ee3474a0a79b (diff)
downloadnetsurf-4d18947adb21aa3e06f2431900111ad17b58d80d.tar.gz
netsurf-4d18947adb21aa3e06f2431900111ad17b58d80d.tar.bz2
Update to new warn_user API
Diffstat (limited to 'amiga/plotters.c')
-rw-r--r--amiga/plotters.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/amiga/plotters.c b/amiga/plotters.c
index 9c3c3c7f1..23a73f84a 100644
--- a/amiga/plotters.c
+++ b/amiga/plotters.c
@@ -163,10 +163,10 @@ void ami_init_layers(struct gui_globals *gg, ULONG width, ULONG height, bool for
gg->bm = ami_rtg_allocbitmap(width, height, 32, 0, friend, RGBFB_A8R8G8B8);
}
- if(!gg->bm) warn_user("NoMemory","");
+ if(!gg->bm) amiga_warn_user("NoMemory","");
gg->rp = AllocVecTagList(sizeof(struct RastPort), NULL);
- if(!gg->rp) warn_user("NoMemory","");
+ if(!gg->rp) amiga_warn_user("NoMemory","");
InitRastPort(gg->rp);
gg->rp->BitMap = gg->bm;
@@ -179,12 +179,12 @@ void ami_init_layers(struct gui_globals *gg, ULONG width, ULONG height, bool for
InstallLayerHook(gg->rp->Layer,LAYERS_NOBACKFILL);
gg->rp->AreaInfo = AllocVecTagList(sizeof(struct AreaInfo), NULL);
- if((!gg->areabuf) || (!gg->rp->AreaInfo)) warn_user("NoMemory","");
+ if((!gg->areabuf) || (!gg->rp->AreaInfo)) amiga_warn_user("NoMemory","");
InitArea(gg->rp->AreaInfo,gg->areabuf, AREA_SIZE/5);
gg->rp->TmpRas = AllocVecTagList(sizeof(struct TmpRas), NULL);
- if((!gg->tmprasbuf) || (!gg->rp->TmpRas)) warn_user("NoMemory","");
+ if((!gg->tmprasbuf) || (!gg->rp->TmpRas)) amiga_warn_user("NoMemory","");
InitTmpRas(gg->rp->TmpRas, gg->tmprasbuf, width*height);