From cbae6a91dd2aa20f3faa3aa349942851e636eaed Mon Sep 17 00:00:00 2001 From: Chris Young Date: Sun, 8 Mar 2009 12:52:44 +0000 Subject: Stop local history from crashing, display mostly works (no thumbnails and offset wrong to window), no event handling other than closing the window. svn path=/trunk/netsurf/; revision=6730 --- amiga/bitmap.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'amiga/bitmap.c') diff --git a/amiga/bitmap.c b/amiga/bitmap.c index c82bc9b01..1e553c287 100644 --- a/amiga/bitmap.c +++ b/amiga/bitmap.c @@ -252,6 +252,8 @@ struct BitMap *ami_getcachenativebm(struct bitmap *bitmap,int width,int height,s struct BitMap *tbm = NULL; struct RastPort trp; + if(!bitmap) return NULL; + if(bitmap->nativebm) { if((bitmap->nativebmwidth == width) && (bitmap->nativebmheight==height)) -- cgit v1.2.3