tlibregexp: fix copy-paste error - plan9port - [fork] Plan 9 from user space
 (HTM) git clone git://src.adamsgaard.dk/plan9port
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit 7a6f3d9d6d19d143417f0a9b80145d7065727290
 (DIR) parent 37d81a2915cfd2766f35847e291ba50a98ddb5f3
 (HTM) Author: David du Colombier <0intro@gmail.com>
       Date:   Tue, 18 Nov 2014 20:19:22 +0100
       
       libregexp: fix copy-paste error
       
       Change-Id: I042d63ea62e2abd599bf9767acb3374bb39ddc7d
       Reviewed-on: https://plan9port-review.googlesource.com/1050
       Reviewed-by: Minux Ma <minux@golang.org>
       Reviewed-by: Russ Cox <rsc@google.com>
       
       Diffstat:
         M src/libregexp/rregexec.c            |       2 +-
       
       1 file changed, 1 insertion(+), 1 deletion(-)
       ---
 (DIR) diff --git a/src/libregexp/rregexec.c b/src/libregexp/rregexec.c
       t@@ -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->reol)
       +                                if(p == 0 || s == j->reol)
                                                return match;
                                        s = p;
                                        break;