From: <sa...@us...> - 2006-10-15 00:48:40
|
Revision: 17482 http://svn.sourceforge.net/gaim/?rev=17482&view=rev Author: sadrul Date: 2006-10-14 17:48:35 -0700 (Sat, 14 Oct 2006) Log Message: ----------- 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. Modified Paths: -------------- trunk/console/libgnt/gnttextview.c Modified: trunk/console/libgnt/gnttextview.c =================================================================== --- trunk/console/libgnt/gnttextview.c 2006-10-14 20:00:56 UTC (rev 17481) +++ trunk/console/libgnt/gnttextview.c 2006-10-15 00:48:35 UTC (rev 17482) @@ -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; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |