Mercurial > hg
changeset 1744:38103f4213c0
Clean up useless variable
author | Mikael Berthe <mikael@lilotux.net> |
---|---|
date | Tue, 09 Mar 2010 22:41:34 +0100 |
parents | dcbf31f99fa3 |
children | 5ef7629a96ff |
files | mcabber/mcabber/main.c |
diffstat | 1 files changed, 1 insertions(+), 5 deletions(-) [+] |
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);