aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/MenuCreator.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/MenuCreator.cc b/src/MenuCreator.cc
index cdec5c7..b09d851 100644
--- a/src/MenuCreator.cc
+++ b/src/MenuCreator.cc
@@ -20,7 +20,7 @@
20// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 20// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
21// DEALINGS IN THE SOFTWARE. 21// DEALINGS IN THE SOFTWARE.
22 22
23// $Id: MenuCreator.cc,v 1.1 2004/05/02 20:59:29 fluxgen Exp $ 23// $Id: MenuCreator.cc,v 1.2 2004/05/02 22:17:00 fluxgen Exp $
24 24
25#include "MenuCreator.hh" 25#include "MenuCreator.hh"
26 26
@@ -413,7 +413,9 @@ bool MenuCreator::createWindowMenuItem(const std::string &type,
413 &win, 413 &win,
414 false)); 414 false));
415 415
416 } else 416 } else if (type == "separator") {
417 menu.insert("---");
418 } else
417 return false; 419 return false;
418#undef WINDOWNLS 420#undef WINDOWNLS
419 421