diff finch/libgnt/gntmain.c @ 17745:8d3c28521112

I think this fixes #532.
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Wed, 23 May 2007 06:23:01 +0000
parents 541c5ed54e90
children c0c17a81f5fe
line wrap: on
line diff
--- a/finch/libgnt/gntmain.c	Wed May 23 03:09:25 2007 +0000
+++ b/finch/libgnt/gntmain.c	Wed May 23 06:23:01 2007 +0000
@@ -359,8 +359,7 @@
 	switch (sig) {
 #ifdef SIGWINCH
 	case SIGWINCH:
-		werase(stdscr);
-		wrefresh(stdscr);
+		erase();
 		g_idle_add(refresh_screen, NULL);
 		org_winch_handler(sig);
 		signal(SIGWINCH, sighandler);