diff options
| -rw-r--r-- | src/forms_compatibility.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/forms_compatibility.cxx b/src/forms_compatibility.cxx index 2d9ca858f..c4901fedc 100644 --- a/src/forms_compatibility.cxx +++ b/src/forms_compatibility.cxx @@ -27,7 +27,7 @@ void fl_end_form() { void Fl_Group::forms_end() { // set the dimensions of a group to surround contents - const int nc = g->children(); + const int nc = children(); if (nc && !w()) { Fl_Widget*const* a = array(); Fl_Widget* o = *a++; |
