diff options
author | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2009-03-08 12:52:44 +0000 |
---|---|---|
committer | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2009-03-08 12:52:44 +0000 |
commit | cbae6a91dd2aa20f3faa3aa349942851e636eaed (patch) | |
tree | 7bc5d4aa63f5a0c8b77ec7a6cb76ffd22106921a /amiga/plotters.c | |
parent | b0e61211f9d1bbcb024c855d1a864bb3fc763c6d (diff) | |
download | netsurf-cbae6a91dd2aa20f3faa3aa349942851e636eaed.tar.gz netsurf-cbae6a91dd2aa20f3faa3aa349942851e636eaed.tar.bz2 |
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
Diffstat (limited to 'amiga/plotters.c')
-rwxr-xr-x | amiga/plotters.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/amiga/plotters.c b/amiga/plotters.c index 7e954d9bf..10d7b75cd 100755 --- a/amiga/plotters.c +++ b/amiga/plotters.c @@ -391,6 +391,8 @@ bool ami_bitmap(int x, int y, int width, int height, tbm = ami_getcachenativebm(bitmap,width,height,currp->BitMap); + if(!tbm) return true; + BltBitMapTags(BLITA_Width,width, BLITA_Height,height, BLITA_Source,tbm, @@ -422,6 +424,8 @@ bool ami_bitmap_tile(int x, int y, int width, int height, tbm = ami_getcachenativebm(bitmap,width,height,currp->BitMap); + if(!tbm) return true; + /* get left most tile position */ if (repeat_x) for (; x > glob.rect.MinX; x -= width) |