Mercurial > ~mikael > mcabber > hg
diff mcabber/mcabber/main.c @ 1744:38103f4213c0
Clean up useless variable
author | Mikael Berthe <mikael@lilotux.net> |
---|---|
date | Tue, 09 Mar 2010 22:41:34 +0100 |
parents | 5093b5ca1572 |
children | 6e856c5858c3 |
line wrap: on
line diff
--- a/mcabber/mcabber/main.c Tue Mar 09 20:45:57 2010 +0100 +++ b/mcabber/mcabber/main.c Tue Mar 09 22:41:34 2010 +0100 @@ -62,8 +62,6 @@ static unsigned int terminate_ui; GMainContext *main_context; -static gboolean update_screen = TRUE; - static struct termios *backup_termios; char *mcabber_version(void) @@ -295,7 +293,6 @@ while (kcode.value != ERR) { process_key(kcode); - update_screen = TRUE; scr_Getch(&kcode); } scr_CheckAutoAway(FALSE); @@ -467,8 +464,7 @@ keyboard_activity(); if (update_roster) scr_DrawRoster(); - if(update_screen) - scr_DoUpdate(); + scr_DoUpdate(); } g_source_destroy(mc_source);