Fill out struct after creation.
svn path=/trunk/netsurf/; revision=12762
This commit is contained in:
parent
0f79ab2c19
commit
0f40fbae49
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue