From 830b900f714162493ff3e9ef2bcdc12b9cc8b057 Mon Sep 17 00:00:00 2001 From: David du Colombier <0intro@gmail.com> Date: Wed, 17 Dec 2014 22:13:17 +0100 Subject: [PATCH] fix copy/paste error --- rregexec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rregexec.c b/rregexec.c index 2ce2312..8af16b6 100644 --- a/rregexec.c +++ b/rregexec.c @@ -44,7 +44,7 @@ rregexec1(Reprog *progp, /* program to run */ switch(j->starttype) { case RUNE: p = runestrchr(s, j->startchar); - if(p == 0 || p == j->reol) + if(p == 0 || s == j->reol) return match; s = p; break; -- 2.49.0