summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: a48c2fe)
raw | patch | inline | side by side (parent: a48c2fe)
author | Kalle Wallin <kaw@linux.se> | |
Fri, 19 Mar 2004 19:16:35 +0000 (19:16 +0000) | ||
committer | Kalle Wallin <kaw@linux.se> | |
Fri, 19 Mar 2004 19:16:35 +0000 (19:16 +0000) |
main.c | patch | blob | history |
index e91532277b535e4b362f254142a734a89df0933f..c3c6687fd9fa93e71605fb51ef1d5278853e0700 100644 (file)
--- a/main.c
+++ b/main.c
exit_and_cleanup(void)
{
screen_exit();
+ charset_close();
if( mpc )
{
if( mpc_error(mpc) )
options_init();
options = options_parse(argc, argv);
+ /* initialize local charset */
+ if( charset_init() )
+ exit(EXIT_FAILURE);
+
/* setup signal behavior - SIGINT */
sigemptyset( &act.sa_mask );
act.sa_flags = 0;