diff options
author | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2009-03-26 21:48:10 +0100 |
---|---|---|
committer | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2009-03-26 21:48:10 +0100 |
commit | f4e55a2fb37e86d82c378e2aebc4d3631a462fab (patch) | |
tree | 2632a3c2a2a1d3360f0566d51afbce1fa4254c6e | |
parent | 3d4e62d3c9781649ef5ea01825fd5c686e63379c (diff) |
whitespace
-rw-r--r-- | src/GipfelWidget.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/GipfelWidget.cxx b/src/GipfelWidget.cxx index 31162ef..9fc56d6 100644 --- a/src/GipfelWidget.cxx +++ b/src/GipfelWidget.cxx @@ -620,7 +620,9 @@ GipfelWidget::handle(int event) { {"Find Peak", 0, find_peak_cb, this}, {0} }; - const Fl_Menu_Item *mi = rclick_menu->popup(Fl::event_x(), Fl::event_y(), 0, 0, 0); + const Fl_Menu_Item *mi = + rclick_menu->popup(Fl::event_x(), Fl::event_y(), 0, 0, 0); + if (mi) mi->do_callback(0, mi->user_data()); } |