From 83ab1c91731716aff9bcdae08b7a7e3068c555db Mon Sep 17 00:00:00 2001 From: rwst Date: Tue, 27 Jun 2006 15:52:56 +0000 Subject: [PATCH] fix 4.2 xcompilation: remove array assignment hack --- src/ui/widget/selected-style.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/ui/widget/selected-style.cpp b/src/ui/widget/selected-style.cpp index 44d8232e0..a2e57d600 100644 --- a/src/ui/widget/selected-style.cpp +++ b/src/ui/widget/selected-style.cpp @@ -109,11 +109,12 @@ SelectedStyle::SelectedStyle(bool layout) _sw_unit(NULL), - _tooltips (), + _tooltips () - _drop((void*[]){0,0}), - _dropEnabled((bool[]){false, false}) { + _drop[0] = _drop[1] = 0; + _dropEnabled[0] = _dropEnabled[1] = false; + _fill_label.set_alignment(0.0, 0.5); _fill_label.set_padding(0, 0); _stroke_label.set_alignment(0.0, 0.5); -- 2.30.2