diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2011-09-06 21:00:10 +0000 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2011-09-06 21:00:10 +0000 |
commit | 0f40fbae49eba40f03fd99095d39ea23f9fa37c1 (patch) | |
tree | 2666b1797822d3a3d71a871a2febb441014c83a8 /beos | |
parent | 0f79ab2c19f179255865aac2da1f7a1ba5177f49 (diff) | |
download | netsurf-0f40fbae49eba40f03fd99095d39ea23f9fa37c1.tar.gz netsurf-0f40fbae49eba40f03fd99095d39ea23f9fa37c1.tar.bz2 |
Fill out struct after creation.
svn path=/trunk/netsurf/; revision=12762
Diffstat (limited to 'beos')
-rw-r--r-- | beos/beos_thumbnail.cpp | 7 |
1 files 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); |