signal(SIGTERM, quit_abook_sig);
+ init_index();
+
if(init_ui())
exit(EXIT_FAILURE);
main(int argc, char **argv)
{
#if defined(HAVE_SETLOCALE) && defined(HAVE_LOCALE_H)
- setlocale(LC_ALL, "");
+ setlocale(LC_MESSAGES, "");
+ setlocale(LC_TIME, "");
+ setlocale(LC_CTYPE, "");
+ setlocale(LC_COLLATE, "");
#endif
-
bindtextdomain(PACKAGE, LOCALEDIR);
textdomain(PACKAGE);
check_abook_directory();
init_opts();
load_opts(rcfile);
+ init_standard_fields();
atexit(free_opts);
/*