diff options
Diffstat (limited to 'lib/widgets.cc')
-rw-r--r-- | lib/widgets.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/widgets.cc b/lib/widgets.cc index 5676721..f3dc559 100644 --- a/lib/widgets.cc +++ b/lib/widgets.cc @@ -372,10 +372,10 @@ bool mogltk::widgets::Button::process_event(int xe, int ye, mogltk::event_t even return true; case E_MOUSE_END_DRAG_OVER: dragging = false; - if (bevel); + if (bevel) // action here. - if (a) - a->do_action(this); + if (a) + a->do_action(this); bevel = false; return true; } |