diff options
-rw-r--r-- | src/flpsed.cxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/flpsed.cxx b/src/flpsed.cxx index 2896874..c89b82d 100644 --- a/src/flpsed.cxx +++ b/src/flpsed.cxx @@ -294,7 +294,7 @@ void save_cb() { void print_cb() { char *pref_cmd; - int r; + int r = 0; const char *print_cmd; Fl_Preferences prefs(Fl_Preferences::USER, "Johannes.HofmannATgmx.de", "flpsed"); @@ -647,7 +647,9 @@ int main(int argc, char** argv) { win->end(); win->callback((Fl_Callback *)quit_cb); - win->show(1, argv); + win->show(1, argv); + + property_changed_cb(); // sync properties with UI if (zoom_val) psed_p->zoom(zoom_val); |