From f4e55a2fb37e86d82c378e2aebc4d3631a462fab Mon Sep 17 00:00:00 2001 From: Johannes Hofmann Date: Thu, 26 Mar 2009 21:48:10 +0100 Subject: whitespace --- src/GipfelWidget.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src') 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()); } -- cgit v1.2.3