Fill out struct after creation.

svn path=/trunk/netsurf/; revision=12762
This commit is contained in:
Michael Drake 2011-09-06 21:00:10 +00:00
parent 0f79ab2c19
commit 0f40fbae49
1 changed files with 3 additions and 4 deletions

View File

@ -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);