Mercurial > pidgin
diff console/libgnt/gnttextview.c @ 14727:9baeeaa365d1
[gaim-migrate @ 17482]
Patch from Richard Nelson (wabz). This turns off some flags so that the empty
spaces at the end of the lines do not have underlines or blinking.
committer: Tailor Script <tailor@pidgin.im>
| author | Sadrul Habib Chowdhury <imadil@gmail.com> |
|---|---|
| date | Sun, 15 Oct 2006 00:48:35 +0000 |
| parents | 3ac156db9cb6 |
| children | b7e145ea9076 |
line wrap: on
line diff
--- a/console/libgnt/gnttextview.c Sat Oct 14 18:28:22 2006 +0000 +++ b/console/libgnt/gnttextview.c Sun Oct 15 00:48:35 2006 +0000 @@ -51,10 +51,10 @@ *end = '\0'; wattrset(widget->window, seg->flags); wprintw(widget->window, "%s", (view->string->str + seg->start)); - if (!iter->next) - whline(widget->window, ' ' | seg->flags, widget->priv.width - line->length - 1); *end = back; } + wattroff(widget->window, A_UNDERLINE | A_BLINK | A_REVERSE); + whline(widget->window, ' ', widget->priv.width - line->length - 1); } scrcol = widget->priv.width - 1;
