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.
This commit is contained in:
RichardHitt 2013-03-03 11:43:24 -08:00
parent 8e3d039199
commit 6dc437c364
1 changed files with 1 additions and 8 deletions

View File

@ -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 */