]> git.deb.at Git - pkg/abook.git/blobdiff - options.c
*** empty log message ***
[pkg/abook.git] / options.c
index 2b0353f60d790c3d8cde7edafaf53da4e9f7bb9b..e1a554391b2d2a56313c833de2077ccdf24c4b74 100644 (file)
--- a/options.c
+++ b/options.c
@@ -80,15 +80,17 @@ init_options()
                default_options();
 }
 
+
+#if 1
+extern int alternative_rcfile;
+#endif
+
 void
 close_config()
 {
-       /*
-        * we don't save the configuration file since user can specify
-        * alternative configuration files
-        */
-#if 0
-       save_options();
+#if 1
+       if(!alternative_rcfile)
+               save_options();
 #endif
 
        conff_free_nodes(abook_config);
@@ -120,7 +122,7 @@ load_options()
        }
 }
 
-#if 0
+#if 1
 void
 save_options()
 {