From 8e5a10ea6c7384a92f572863e12d3c578c06c023 Mon Sep 17 00:00:00 2001 From: Mathias Gumz Date: Wed, 28 Jan 2015 21:44:20 +0100 Subject: Compiler boyscouting: init order --- src/FbTk/Menu.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/FbTk/Menu.cc b/src/FbTk/Menu.cc index 7172fe7..539c72c 100644 --- a/src/FbTk/Menu.cc +++ b/src/FbTk/Menu.cc @@ -221,13 +221,13 @@ void Menu::hideShownMenu() { Menu::Menu(FbTk::ThemeProxy &tm, ImageControl &imgctrl): - m_theme(tm), m_parent(0), - m_image_ctrl(imgctrl), - m_alignment(ALIGNDONTCARE), + m_need_update(true), m_active_index(-1), + m_theme(tm), + m_image_ctrl(imgctrl), m_shape(0), - m_need_update(true) { + m_alignment(ALIGNDONTCARE) { Display* disp = FbTk::App::instance()->display(); m_screen.x = 0; -- cgit v0.11.2