summaryrefslogtreecommitdiff
path: root/fluid/Fl_Window_Type.cxx
diff options
context:
space:
mode:
authorAlbrecht Schlosser <albrechts.fltk@online.de>2024-10-24 17:56:51 +0200
committerAlbrecht Schlosser <albrechts.fltk@online.de>2024-10-24 17:56:51 +0200
commiteb545c981bc8835df1b0bfcef7f5d8ee50433acb (patch)
treeda02462eefd7527cedadfae6728e2e3263d98ee5 /fluid/Fl_Window_Type.cxx
parent1fbcbee107dbe6c48a14aca3d85d0c5e2dfe6436 (diff)
Fluid: replace 'FL_WINDOW+1' with 'FL_DOUBLE_WINDOW'
Note: 'FL_DOUBLE_WINDOW' *is* currently defined as 'FL_WINDOW+1'. This commit doesn't change real code but prevents potential bugs in the future if one of these constants would be changed.
Diffstat (limited to 'fluid/Fl_Window_Type.cxx')
-rw-r--r--fluid/Fl_Window_Type.cxx2
1 files changed, 1 insertions, 1 deletions
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;