fix pointer comparison (Ramon de Vera)

This commit is contained in:
rsc 2007-05-21 19:21:56 +00:00
parent 4276f84713
commit 29412e1c31

View file

@ -46,7 +46,7 @@ rregexec1(Reprog *progp, /* program to run */
switch(j->starttype) {
case RUNE:
p = runestrchr(s, j->startchar);
if(p == 0 || p == j->eol)
if(p == 0 || p == j->reol)
return match;
s = p;
break;