[w3m-dev 04235] invalid text decoration

Hiroyuki Ito <[email protected]> Fri, 11 May 2007 23:00:54 +0900 (JST)
Newsgroups gmane.comp.web.w3m.devel
Message-ID <[email protected]>

migemo 






Index: display.c
===================================================================
RCS file: /cvsroot/w3m/w3m/display.c,v
retrieving revision 1.69
diff -u -r1.69 display.c
--- display.c	15 Jul 2004 16:32:38 -0000	1.69
+++ display.c	10 May 2007 14:03:05 -0000
@@ -606,6 +606,9 @@
 	    addstr(mouse_action.menu_str);
 #endif
 	clrtoeolx();
+	underlineend();
+	standend();
+	boldend();
 	for (t = FirstTab; t; t = t->nextTab) {
 	    move(t->y, t->x1);
 	    if (t == CurrentTab)
Index: linein.c
===================================================================
RCS file: /cvsroot/w3m/w3m/linein.c,v
retrieving revision 1.34
diff -u -r1.34 linein.c
--- linein.c	26 Sep 2003 17:59:51 -0000	1.34
+++ linein.c	10 May 2007 14:03:05 -0000
@@ -164,6 +164,9 @@
 		offset = 0;
 	}
 	move(LASTLINE, 0);
+	underlineend();
+	standend();
+	boldend();
 	addstr(prompt);
 	if (is_passwd)
 	    addPasswd(strBuf->ptr, strProp, CLen, offset, COLS - opos);