fix pointer comparison (Ramon de Vera)
This commit is contained in:
parent
4276f84713
commit
29412e1c31
1 changed files with 1 additions and 1 deletions
|
|
@ -46,7 +46,7 @@ rregexec1(Reprog *progp, /* program to run */
|
||||||
switch(j->starttype) {
|
switch(j->starttype) {
|
||||||
case RUNE:
|
case RUNE:
|
||||||
p = runestrchr(s, j->startchar);
|
p = runestrchr(s, j->startchar);
|
||||||
if(p == 0 || p == j->eol)
|
if(p == 0 || p == j->reol)
|
||||||
return match;
|
return match;
|
||||||
s = p;
|
s = p;
|
||||||
break;
|
break;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue