From 4cc85469cb26f8ea1a8f14f17bddb6a5cbea1e88 Mon Sep 17 00:00:00 2001 From: Richard Wilson Date: Tue, 21 Feb 2006 20:49:12 +0000 Subject: [project @ 2006-02-21 20:49:11 by rjw] Allow any content to be used as a background. Simplify bitmap code. svn path=/import/netsurf/; revision=2087 --- riscos/history.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'riscos/history.c') diff --git a/riscos/history.c b/riscos/history.c index 4cb5c7e73..46ef458bf 100644 --- a/riscos/history.c +++ b/riscos/history.c @@ -178,7 +178,8 @@ void history_add(struct history *history, struct content *content, char *frag_id * loading */ bitmap = url_store_get_thumbnail(url); if (!bitmap) { - bitmap = bitmap_create(WIDTH / 2, HEIGHT / 2, false); + bitmap = bitmap_create(WIDTH / 2, HEIGHT / 2, + BITMAP_ALLOCATE_MEMORY); if (!bitmap) { LOG(("Thumbnail initialisation failed.")); return; -- cgit v1.2.3