fixed saving options on exit
authorVladimir Nadvornik <nadvornik@suse.cz>
Mon, 9 Jun 2008 07:06:53 +0000 (07:06 +0000)
committerVladimir Nadvornik <nadvornik@suse.cz>
Mon, 9 Jun 2008 07:06:53 +0000 (07:06 +0000)
src/layout.c

index 8b078d6..3db1048 100644 (file)
@@ -1795,6 +1795,7 @@ void layout_close(LayoutWindow *lw)
                }
        else
                {
+               sync_options_with_current_state(options);
                layout_free(lw); /* make leak detection easier */
                exit_program();
                }