From 666bbda70e6ec79fa997c3a87f0bfb8179a47b2a Mon Sep 17 00:00:00 2001 From: Albrecht Schlosser Date: Sat, 10 Aug 2024 20:32:19 +0200 Subject: Fix tabs, trailing spaces, and update dependencies --- fluid/Fl_Widget_Type.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'fluid') diff --git a/fluid/Fl_Widget_Type.cxx b/fluid/Fl_Widget_Type.cxx index 160234aa4..eb2d04e90 100644 --- a/fluid/Fl_Widget_Type.cxx +++ b/fluid/Fl_Widget_Type.cxx @@ -2996,7 +2996,7 @@ void Fl_Widget_Type::write_code1(Fd_Code_Writer& f) { f.write_c("new %s(0, 0, %d, %d", t, o->w(), o->h()); else f.write_c("new %s(%d, %d", t, o->w(), o->h()); - } else if (is_a(ID_Menu_Bar) + } else if (is_a(ID_Menu_Bar) && ((Fl_Menu_Bar_Type*)this)->is_sys_menu_bar() && is_in_class()) { f.write_c("(%s*)new %s(%d, %d, %d, %d", -- cgit v1.2.3