X-Git-Url: https://git.deb.at/w?a=blobdiff_plain;f=options.c;h=2b0353f60d790c3d8cde7edafaf53da4e9f7bb9b;hb=516879f5c54c7cfb1cea572d6fea8f664e8cc010;hp=31d5eaaa9bdd33f00976297dacfeca90b12a582f;hpb=8c3f50479d2b84db00ed9b8305ca92a5b56ba32e;p=pkg%2Fabook.git diff --git a/options.c b/options.c index 31d5eaa..2b0353f 100644 --- a/options.c +++ b/options.c @@ -2,7 +2,7 @@ /* * $Id$ * - * by JH + * by JH * * Copyright (C) Jaakko Heinonen */ @@ -83,7 +83,13 @@ init_options() void close_config() { + /* + * we don't save the configuration file since user can specify + * alternative configuration files + */ +#if 0 save_options(); +#endif conff_free_nodes(abook_config); } @@ -114,6 +120,7 @@ load_options() } } +#if 0 void save_options() { @@ -122,6 +129,7 @@ save_options() conff_save_file(abook_config, rcfile); } +#endif static void options_add_key(char *key, char *value) @@ -153,5 +161,5 @@ default_options() options_add_key("address_style", "eu"); - options_add_key("use_ascii_only", "true"); + options_add_key("use_ascii_only", "false"); }