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:
Timo Sirainen 2003-10-11 00:19:34 +00:00 committed by cras
commit 1826812c9d
4 changed files with 11 additions and 11 deletions

View file

@ -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;