mirror of
https://github.com/fltk/fltk.git
synced 2026-06-01 06:14:28 +08:00
#877L: Formatting, Unused variable.
This commit is contained in:
+1
-2
@@ -131,7 +131,6 @@ int Fl_Button::handle(int event) {
|
|||||||
if (value_ == oldval) {
|
if (value_ == oldval) {
|
||||||
clear_changed();
|
clear_changed();
|
||||||
} else {
|
} else {
|
||||||
Fl_Widget_Tracker wp(this);
|
|
||||||
if (type() == FL_RADIO_BUTTON) {
|
if (type() == FL_RADIO_BUTTON) {
|
||||||
setonly();
|
setonly();
|
||||||
} else if (type() == FL_TOGGLE_BUTTON) {
|
} else if (type() == FL_TOGGLE_BUTTON) {
|
||||||
@@ -176,7 +175,7 @@ int Fl_Button::handle(int event) {
|
|||||||
triggered_by_keyboard:
|
triggered_by_keyboard:
|
||||||
if (s_key_repeat) return 1;
|
if (s_key_repeat) return 1;
|
||||||
Fl_Widget_Tracker wp(this);
|
Fl_Widget_Tracker wp(this);
|
||||||
if (type() == FL_RADIO_BUTTON) {
|
if (type() == FL_RADIO_BUTTON) {
|
||||||
if (!value_) {
|
if (!value_) {
|
||||||
setonly();
|
setonly();
|
||||||
set_changed();
|
set_changed();
|
||||||
|
|||||||
Reference in New Issue
Block a user