From c3f006deb072968cf6b471e6d93649ab44a5727e Mon Sep 17 00:00:00 2001 From: Alexandre Deckner Date: Fri, 13 Jun 2008 00:36:06 +0000 Subject: [PATCH] - initialize the variable, we never know :) git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25949 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/kits/interface/Menu.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/kits/interface/Menu.cpp b/src/kits/interface/Menu.cpp index c3edb2fedb..8993d83cf5 100644 --- a/src/kits/interface/Menu.cpp +++ b/src/kits/interface/Menu.cpp @@ -1262,6 +1262,7 @@ BMenu::_InitData(BMessage* archive) SetFont(&font, B_FONT_FAMILY_AND_STYLE | B_FONT_SIZE); fLayoutData = new LayoutData; + fLayoutData->lastResizingMode = ResizingMode(); SetLowColor(sMenuInfo.background_color); SetViewColor(sMenuInfo.background_color);