bugfix: correctly check evry trigger matches

CID 1039880
This commit is contained in:
Mike Blumenkrantz 2014-04-04 14:15:13 -04:00
parent 918682dfb4
commit 1950f54caf
1 changed files with 1 additions and 1 deletions

View File

@ -2844,7 +2844,7 @@ _evry_matches_update(Evry_Selector *sel, int async)
{
s->inp[0] = ':';
if (s->inp + len_trigger)
if (s->inp[len_trigger])
strcpy(s->inp + 1, s->inp + len_trigger);
else
s->inp[1] = 0;