Mercurial > pidgin
diff console/libgnt/gntbutton.c @ 15586:d059cfbb62ae
Patch from Richard 'wabz' Nelson. This fixes some possible crashes/exploits.
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Thu, 08 Feb 2007 22:10:30 +0000 |
parents | bfcdd361357e |
children | 1c8f1dc50685 |
line wrap: on
line diff
--- 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; }