From 6dc437c3646700aeb6e1f47c406bf1af67526478 Mon Sep 17 00:00:00 2001 From: RichardHitt Date: Sun, 3 Mar 2013 11:43:24 -0800 Subject: [PATCH] Change the is_del() macro to not regard ATTR_BOLD nor ATTR_RESET as delimiters. Remove old iffed-out version of is_del() as well, as a cleanup step; that change was for not regarding left and right parens as delimiters. With this change, mousing over a nickname will underline it even if it contains embedded formatting data; it used to work with all formatting data but bold and reset; now it works for all. --- src/fe-gtk/xtext.c | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/src/fe-gtk/xtext.c b/src/fe-gtk/xtext.c index 6005e265..5b85022e 100644 --- a/src/fe-gtk/xtext.c +++ b/src/fe-gtk/xtext.c @@ -90,15 +90,8 @@ #endif /* is delimiter */ -#if 0 -/* () is used by Wikipedia */ #define is_del(c) \ - (c == ' ' || c == '\n' || c == ')' || c == '(' || \ - c == '>' || c == '<' || c == ATTR_RESET || c == ATTR_BOLD || c == 0) -#endif -#define is_del(c) \ - (c == ' ' || c == '\n' || c == '>' || c == '<' || \ - c == ATTR_RESET || c == ATTR_BOLD || c == 0) + (c == ' ' || c == '\n' || c == '>' || c == '<' || c == 0) #ifdef SCROLL_HACK /* force scrolling off */