From eb545c981bc8835df1b0bfcef7f5d8ee50433acb Mon Sep 17 00:00:00 2001 From: Albrecht Schlosser Date: Thu, 24 Oct 2024 17:56:51 +0200 Subject: 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. --- fluid/Fl_Window_Type.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'fluid/Fl_Window_Type.cxx') 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; -- cgit v1.2.3