diff options
| author | Matthias Melcher <github@matthiasm.com> | 2024-01-14 15:48:09 +0100 |
|---|---|---|
| committer | Matthias Melcher <github@matthiasm.com> | 2024-01-14 15:48:33 +0100 |
| commit | da6791d492241b8f2632f8df003e9d936d997b82 (patch) | |
| tree | 0f20ddf2f59577a5a6716c2e5c28fd8e2a8627d8 /src/Fl_Button.cxx | |
| parent | c44bea787fe86a493c53498f5b3e33cba5e8bdaa (diff) | |
#877L: Formatting, Unused variable.
Diffstat (limited to 'src/Fl_Button.cxx')
| -rw-r--r-- | src/Fl_Button.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/Fl_Button.cxx b/src/Fl_Button.cxx index 700d73348..a70fb672c 100644 --- a/src/Fl_Button.cxx +++ b/src/Fl_Button.cxx @@ -131,7 +131,6 @@ int Fl_Button::handle(int event) { if (value_ == oldval) { clear_changed(); } else { - Fl_Widget_Tracker wp(this); if (type() == FL_RADIO_BUTTON) { setonly(); } else if (type() == FL_TOGGLE_BUTTON) { @@ -176,7 +175,7 @@ int Fl_Button::handle(int event) { triggered_by_keyboard: if (s_key_repeat) return 1; Fl_Widget_Tracker wp(this); - if (type() == FL_RADIO_BUTTON) { + if (type() == FL_RADIO_BUTTON) { if (!value_) { setonly(); set_changed(); |
