summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2011-07-07 21:11:02 +0200
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2011-07-07 21:11:02 +0200
commit61b23da69c19e98508e5c937f476da9a0d292528 (patch)
tree00b0d90145286aa2102c520095d3a12c371dfcf6 /src
parent70abbfc093c470341e82b61adb7485d47e8a5dc7 (diff)
sync font size and color with UI
Diffstat (limited to 'src')
-rw-r--r--src/flpsed.cxx6
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);