summaryrefslogtreecommitdiff
path: root/riscos/window.c
diff options
context:
space:
mode:
Diffstat (limited to 'riscos/window.c')
-rw-r--r--riscos/window.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/riscos/window.c b/riscos/window.c
index 6a2ae4467..759c0c281 100644
--- a/riscos/window.c
+++ b/riscos/window.c
@@ -3417,9 +3417,10 @@ void ro_gui_window_iconise(struct gui_window *g,
LOG(("Thumbnail initialisation failed."));
return;
}
- thumbnail_create(h, bitmap, NULL);
- if (overlay)
+ thumbnail_create(h, bitmap);
+ if (overlay) {
bitmap_overlay_sprite(bitmap, overlay);
+ }
area = thumbnail_convert_8bpp(bitmap);
bitmap_destroy(bitmap);
if (!area) {