summaryrefslogtreecommitdiff
path: root/fluid/function_panel.cxx
diff options
context:
space:
mode:
authorMatthias Melcher <git@matthiasm.com>2021-12-11 03:33:25 +0100
committerMatthias Melcher <github@matthiasm.com>2021-12-11 03:40:07 +0100
commit1c962bf5e26d3883bfc804b111d28080036d4feb (patch)
tree1e6032e2b9db9d2348fa64c1b39d227ad7347957 /fluid/function_panel.cxx
parent235f9ed709d4b6ce6dbf46248250e8586bdd2dfe (diff)
STR 3210: indentation is now controlled in one single position for all source and header files.
Diffstat (limited to 'fluid/function_panel.cxx')
-rw-r--r--fluid/function_panel.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/fluid/function_panel.cxx b/fluid/function_panel.cxx
index ab3e177b1..65326ae10 100644
--- a/fluid/function_panel.cxx
+++ b/fluid/function_panel.cxx
@@ -1,7 +1,7 @@
//
// Code dialogs for the Fast Light Tool Kit (FLTK).
//
-// Copyright 1998-2020 by Bill Spitzak and others.
+// Copyright 1998-2021 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
@@ -146,7 +146,7 @@ Fl_Double_Window *code_panel=(Fl_Double_Window *)0;
static void cb_code_panel(Fl_Double_Window*, void*) {
if (Fl::event()==FL_SHORTCUT && Fl::event_key()==FL_Escape)
return; // ignore Escape
-code_panel->hide(); // otherwise hide..;
+ code_panel->hide(); // otherwise hide..;
}
CodeEditor *code_input=(CodeEditor *)0;
@@ -720,9 +720,9 @@ Fl_Window *widgetbin_panel=(Fl_Window *)0;
static void cb_widgetbin_panel(Fl_Window* o, void* v) {
if (Fl::event()==FL_SHORTCUT && Fl::event_key()==FL_Escape)
- exit_cb((Fl_Widget*)o, v);
-else
- toggle_widgetbin_cb((Fl_Widget*)o, v);
+ exit_cb((Fl_Widget*)o, v);
+ else
+ toggle_widgetbin_cb((Fl_Widget*)o, v);
}
Fl_Window* make_widgetbin() {