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:
parent
8e3d039199
commit
6dc437c364
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user