From 8e449e70e9da3d7c15138490b00ad0e722dda5c6 Mon Sep 17 00:00:00 2001 From: haydentech Date: Thu, 4 Sep 2003 19:41:08 +0000 Subject: [PATCH] Eliminate one warning and one bug git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4503 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/kits/interface/Menu.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/kits/interface/Menu.cpp b/src/kits/interface/Menu.cpp index a424321ad8..7e6ac6ced6 100644 --- a/src/kits/interface/Menu.cpp +++ b/src/kits/interface/Menu.cpp @@ -89,7 +89,7 @@ static property_info prop_list[] = { B_NAME_SPECIFIER, B_INDEX_SPECIFIER, B_REVERSE_INDEX_SPECIFIER, 0 }, "Directs scripting message to the specified menu, first popping the current " "specifier off the stack." }, - 0 + {} }; //------------------------------------------------------------------------------ @@ -253,7 +253,7 @@ status_t BMenu::Archive(BMessage *data, bool deep) const if (err != B_OK) return err; - err = data->AddFloat("_maxwidth", fDynamicName); + err = data->AddFloat("_maxwidth", fMaxContentWidth); if (err != B_OK) return err;