diff console/libgnt/gntmain.c @ 14421:553bbd68387e

[gaim-migrate @ 17129] Print a "<AUTO-REPLY>" before the autoreply messages. Fix some earlier brain-damaged ifdefs. committer: Tailor Script <tailor@pidgin.im>
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Sat, 02 Sep 2006 19:29:06 +0000
parents 76d345643ba4
children 3a91ef295cbb
line wrap: on
line diff
--- a/console/libgnt/gntmain.c	Sat Sep 02 18:55:27 2006 +0000
+++ b/console/libgnt/gntmain.c	Sat Sep 02 19:29:06 2006 +0000
@@ -1,3 +1,5 @@
+#include "config.h"
+
 #ifdef HAVE_NCURSESW_INC
 #include <ncursesw/panel.h>
 #else
@@ -655,7 +657,7 @@
 	if (GNT_WIDGET_IS_FLAG_SET(win, GNT_WIDGET_NO_BORDER))
 		return;
 	
-	d = dupwin(win->window);
+	d = win->window;
 	gnt_widget_get_size(win, &w, &h);
 
 #define DECIDE(ch) (set ? ((ch) | A_REVERSE) : ((ch) & ~A_REVERSE))
@@ -677,7 +679,6 @@
 	}
 
 	wrefresh(win->window);
-	delwin(d);
 }
 
 static gboolean