summaryrefslogtreecommitdiff
path: root/fluid
diff options
context:
space:
mode:
Diffstat (limited to 'fluid')
-rw-r--r--fluid/Fl_Widget_Type.cxx4
-rw-r--r--fluid/Fl_Window_Type.cxx2
2 files changed, 3 insertions, 3 deletions
diff --git a/fluid/Fl_Widget_Type.cxx b/fluid/Fl_Widget_Type.cxx
index aaa96883f..4048933bc 100644
--- a/fluid/Fl_Widget_Type.cxx
+++ b/fluid/Fl_Widget_Type.cxx
@@ -1,7 +1,7 @@
//
// Widget type code for the Fast Light Tool Kit (FLTK).
//
-// Copyright 1998-2023 by Bill Spitzak and others.
+// Copyright 1998-2024 by Bill Spitzak and others.
//
// This library is free software. Distribution and use rights are outlined in
// the file "COPYING" which should have been included with this file. If this
@@ -64,7 +64,7 @@ const char* subclassname(Fl_Type* l) {
const char* c = p->subclass();
if (c) return c;
if (l->is_class()) return "Fl_Group";
- if (p->o->type() == FL_WINDOW+1) return "Fl_Double_Window";
+ if (p->o->type() == FL_DOUBLE_WINDOW) return "Fl_Double_Window";
if (p->id() == ID_Input) {
if (p->o->type() == FL_FLOAT_INPUT) return "Fl_Float_Input";
if (p->o->type() == FL_INT_INPUT) return "Fl_Int_Input";
diff --git a/fluid/Fl_Window_Type.cxx b/fluid/Fl_Window_Type.cxx
index 55f66e6cf..e539d671a 100644
--- a/fluid/Fl_Window_Type.cxx
+++ b/fluid/Fl_Window_Type.cxx
@@ -108,7 +108,7 @@ void show_settings_cb(Fl_Widget *, void *) {
Fl_Menu_Item window_type_menu[] = {
{"Single",0,0,(void*)FL_WINDOW},
- {"Double",0,0,(void*)(FL_WINDOW+1)},
+ {"Double",0,0,(void*)(FL_DOUBLE_WINDOW)},
{0}};
static int overlays_invisible;