aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llviewermenu.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/newview/llviewermenu.cpp')
-rw-r--r--linden/indra/newview/llviewermenu.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/linden/indra/newview/llviewermenu.cpp b/linden/indra/newview/llviewermenu.cpp
index 2940bdd..f75ca7d 100644
--- a/linden/indra/newview/llviewermenu.cpp
+++ b/linden/indra/newview/llviewermenu.cpp
@@ -564,6 +564,11 @@ void set_underclothes_menu_options()
564 564
565void init_menus() 565void init_menus()
566{ 566{
567 if (gMenuHolder)
568 {
569 cleanup_menus();
570 }
571
567 S32 top = gViewerWindow->getRootView()->getRect().getHeight(); 572 S32 top = gViewerWindow->getRootView()->getRect().getHeight();
568 S32 width = gViewerWindow->getRootView()->getRect().getWidth(); 573 S32 width = gViewerWindow->getRootView()->getRect().getWidth();
569 574