mirror of
https://github.com/irssi/irssi.git
synced 2026-08-10 20:33:46 +02:00
Changed some checks i_isspace() -> ' ' so that TAB isn't included in checks.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3130 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
9ae4779c87
commit
1826812c9d
4 changed files with 11 additions and 11 deletions
|
|
@ -67,7 +67,7 @@ char *expand_emphasis(WI_ITEM_REC *item, const char *text)
|
|||
|
||||
/* check that the beginning marker starts a word, and
|
||||
that the matching end marker ends a word */
|
||||
if ((pos > 0 && !i_isspace(bgn[-1])) || !ishighalnum(bgn[1]))
|
||||
if ((pos > 0 && bgn[-1] != ' ') || !ishighalnum(bgn[1]))
|
||||
continue;
|
||||
if ((end = strchr(bgn+1, *bgn)) == NULL)
|
||||
continue;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue