summaryrefslogtreecommitdiff
path: root/fluid/Fl_Group_Type.cxx
diff options
context:
space:
mode:
authorMatthias Melcher <github@matthiasm.com>2023-10-19 23:54:31 +0200
committerMatthias Melcher <github@matthiasm.com>2023-10-19 23:54:37 +0200
commitea88888f768b1bbec2300eea93029bec67ad2f43 (patch)
treed0120b8f88a48a342616b7aedcf05aeb326f56ce /fluid/Fl_Group_Type.cxx
parent450248d20e8827665a901a02c344ad435aea336d (diff)
FLUID typos, comments, superfluous code
Diffstat (limited to 'fluid/Fl_Group_Type.cxx')
-rw-r--r--fluid/Fl_Group_Type.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/fluid/Fl_Group_Type.cxx b/fluid/Fl_Group_Type.cxx
index c0e7526e3..1b63aa033 100644
--- a/fluid/Fl_Group_Type.cxx
+++ b/fluid/Fl_Group_Type.cxx
@@ -61,7 +61,7 @@ Fl_Type *Fl_Group_Type::make(Strategy strategy) {
\brief Enlarge the group size, so all children fit within.
*/
void fix_group_size(Fl_Type *tt) {
- if (!tt || !tt->is_group()) return;
+ if (!tt || !tt->is_a(Fl_Type::ID_Group)) return;
Fl_Group_Type* t = (Fl_Group_Type*)tt;
int X = t->o->x();
int Y = t->o->y();