console/libgnt/gntbutton.c

changeset 15647
60181abae898
parent 14898
107b971b39f2
child 15874
46df7421a1b5
--- a/console/libgnt/gntbutton.c	Thu Feb 08 12:35:14 2007 +0000
+++ b/console/libgnt/gntbutton.c	Thu Feb 08 22:10:30 2007 +0000
@@ -22,7 +22,7 @@
 		type = GNT_COLOR_NORMAL;
 	
 	wbkgdset(widget->window, '\0' | COLOR_PAIR(type));
-	mvwprintw(widget->window, 1, 2, button->priv->text);
+	mvwaddstr(widget->window, 1, 2, button->priv->text);
 
 	GNTDEBUG;
 }

mercurial