diff options
-rw-r--r-- | main.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -22,6 +22,7 @@ void exit_and_cleanup(void) { screen_exit(); + charset_close(); if( mpc ) { if( mpc_error(mpc) ) @@ -48,6 +49,10 @@ main(int argc, char *argv[]) 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; |