From 0f40fbae49eba40f03fd99095d39ea23f9fa37c1 Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Tue, 6 Sep 2011 21:00:10 +0000 Subject: Fill out struct after creation. svn path=/trunk/netsurf/; revision=12762 --- beos/beos_thumbnail.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/beos/beos_thumbnail.cpp b/beos/beos_thumbnail.cpp index 3d49d5c10..f5baa8d6c 100644 --- a/beos/beos_thumbnail.cpp +++ b/beos/beos_thumbnail.cpp @@ -71,10 +71,9 @@ bool thumbnail_create(hlcache_handle *content, struct bitmap *bitmap, int big_height; int depth; - struct redraw_context ctx = { - .interactive = false, - .plot = &nsbeos_plotters - }; + struct redraw_context ctx; + ctx.interactive = false; + ctx.plot = &nsbeos_plotters; assert(content); assert(bitmap); -- cgit v1.2.3