changeset 20225:3c415481a943

applied changes from 388507622896337fe56945f851e3aabee3c0427f through 025faf23aaac403798451974c320c4de6df470d5
author Richard Laager <rlaager@wiktel.com>
date Fri, 28 Sep 2007 15:48:49 +0000
parents 31c9fed987db
children a772d16ad8a8
files finch/libgnt/gntmain.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/finch/libgnt/gntmain.c	Fri Sep 28 15:48:30 2007 +0000
+++ b/finch/libgnt/gntmain.c	Fri Sep 28 15:48:49 2007 +0000
@@ -409,7 +409,8 @@
 	case SIGWINCH:
 		erase();
 		g_idle_add(refresh_screen, NULL);
-		org_winch_handler(sig);
+		if (org_winch_handler)
+			org_winch_handler(sig);
 		signal(SIGWINCH, sighandler);
 		break;
 #endif