summaryrefslogtreecommitdiff
path: root/beos
diff options
context:
space:
mode:
authorFran├žois Revel <mmu_man@netsurf-browser.org>2011-09-06 22:22:22 +0000
committerFran├žois Revel <mmu_man@netsurf-browser.org>2011-09-06 22:22:22 +0000
commit6814a0724301f177f68077d27a6df1661bcbaf81 (patch)
treedd769b8335f18fbd3192db688085837928049728 /beos
parent0f4e37d496ed75a6db97c5da47177666e89ad80a (diff)
downloadnetsurf-6814a0724301f177f68077d27a6df1661bcbaf81.tar.gz
netsurf-6814a0724301f177f68077d27a6df1661bcbaf81.tar.bz2
gcc 2.95 knows about named initializers... just not for C++ :(
svn path=/trunk/netsurf/; revision=12768
Diffstat (limited to 'beos')
-rw-r--r--beos/beos_window.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/beos/beos_window.cpp b/beos/beos_window.cpp
index 397979dfc..dac1af738 100644
--- a/beos/beos_window.cpp
+++ b/beos/beos_window.cpp
@@ -30,6 +30,7 @@ extern "C" {
#include "desktop/textinput.h"
#include "render/font.h"
#include "utils/log.h"
+#include "utils/types.h"
#include "utils/utf8.h"
#include "utils/utils.h"
}
@@ -782,10 +783,7 @@ void nsbeos_window_expose_event(BView *view, gui_window *g, BMessage *message)
float scale = g->bw->scale;
struct rect clip;
- struct redraw_context ctx = {
- .interactive = true,
- .plot = &nsbeos_plotters
- };
+ struct redraw_context ctx = { true, &nsbeos_plotters };
assert(g);
assert(g->bw);