summaryrefslogtreecommitdiff
path: root/beos/beos_thumbnail.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'beos/beos_thumbnail.cpp')
-rw-r--r--beos/beos_thumbnail.cpp7
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);