summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/GipfelWidget.cxx2
-rw-r--r--src/gipfel.cxx8
2 files changed, 5 insertions, 5 deletions
diff --git a/src/GipfelWidget.cxx b/src/GipfelWidget.cxx
index ee5cb00..75451ec 100644
--- a/src/GipfelWidget.cxx
+++ b/src/GipfelWidget.cxx
@@ -109,7 +109,7 @@ GipfelWidget::load_image(char *file) {
mb = new Fl_Menu_Button(x(),y(),w()+x(),h()+y(),"&popup");
mb->type(Fl_Menu_Button::POPUP3);
mb->box(FL_NO_BOX);
- mb->add("Center Peak", NULL, (Fl_Callback*) center_cb, this);
+ mb->add("Center Peak", 0, (Fl_Callback*) center_cb, this);
// try to retrieve gipfel data from JPEG comment section
args[0] = "rdjpgcom";
diff --git a/src/gipfel.cxx b/src/gipfel.cxx
index 447b938..1106c48 100644
--- a/src/gipfel.cxx
+++ b/src/gipfel.cxx
@@ -196,15 +196,15 @@ void fill_menubar(Fl_Menu_Bar* mb) {
mb->add("&File/&Quit", FL_CTRL+'q', (Fl_Callback*)quit_cb);
- mb->add("&Projection/Normal Projection", NULL, (Fl_Callback *)proj_cb,
+ mb->add("&Projection/Normal Projection", 0, (Fl_Callback *)proj_cb,
(void *)0, FL_MENU_RADIO|FL_MENU_VALUE);
- mb->add("&Projection/Panoramic Projection", NULL, (Fl_Callback *)proj_cb,
+ mb->add("&Projection/Panoramic Projection", 0, (Fl_Callback *)proj_cb,
(void *)1, FL_MENU_RADIO);
- mb->add("&Option/Show Hidden", NULL, (Fl_Callback *) hidden_cb,
+ mb->add("&Option/Show Hidden", 0, (Fl_Callback *) hidden_cb,
(void *)0, FL_MENU_TOGGLE);
- mb->add("&Help/About", NULL, (Fl_Callback*)about_cb);
+ mb->add("&Help/About", 0, (Fl_Callback*)about_cb);
}
void usage() {