diff options
author | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2011-07-07 21:11:02 +0200 |
---|---|---|
committer | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2011-07-07 21:11:02 +0200 |
commit | 61b23da69c19e98508e5c937f476da9a0d292528 (patch) | |
tree | 00b0d90145286aa2102c520095d3a12c371dfcf6 | |
parent | 70abbfc093c470341e82b61adb7485d47e8a5dc7 (diff) |
sync font size and color with UI
-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); |