Mercurial > pidgin.yaz
changeset 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 | f93d632ac8d8 |
children | c9cc804b53bf |
files | console/libgnt/gnttextview.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
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;