comparison mcabber/mcabber/screen.c @ 1733:a9b0364c0cb2

Fix segfault introduced in previous commit
author Mikael Berthe <mikael@lilotux.net>
date Mon, 01 Mar 2010 20:23:22 +0100
parents e6e89b1d7831
children dcbf31f99fa3
comparison
equal deleted inserted replaced
1732:4e57d6275a86 1733:a9b0364c0cb2
733 LocaleCharSet = nl_langinfo(CODESET); 733 LocaleCharSet = nl_langinfo(CODESET);
734 #endif 734 #endif
735 utf8_mode = (strcmp(LocaleCharSet, "UTF-8") == 0); 735 utf8_mode = (strcmp(LocaleCharSet, "UTF-8") == 0);
736 } 736 }
737 737
738 gboolean scr_CursesStatus(void)
739 {
740 return Curses;
741 }
742
738 void scr_InitCurses(void) 743 void scr_InitCurses(void)
739 { 744 {
740 /* Key sequences initialization */ 745 /* Key sequences initialization */
741 init_keycodes(); 746 init_keycodes();
742 747