]> git.mxchange.org Git - flightgear.git/blobdiff - src/GUI/menubar.cxx
Melchior: Make line wrapping in textboxes configurable, and enable it by default
[flightgear.git] / src / GUI / menubar.cxx
index d1b6d286575d092c3d6bce81cd89bc856480d4ae..364b3b414e258f1b79bdd6a6ace0f8d1271c950a 100644 (file)
@@ -216,10 +216,8 @@ FGMenuBar::~FGMenuBar ()
 void
 FGMenuBar::init ()
 {
-    if (_menuBar != 0)          // FIXME: check if PUI owns the pointer
-        delete _menuBar;
+    delete _menuBar;            // FIXME: check if PUI owns the pointer
     make_menubar();
-
                                 // FIXME: temporary commands to get at
                                 // old, hard-coded dialogs.
     add_deprecated_dialogs();