aboutsummaryrefslogtreecommitdiff
path: root/src/wherecode.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/wherecode.c')
-rw-r--r--src/wherecode.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/wherecode.c b/src/wherecode.c
index c9edab7b0..157812247 100644
--- a/src/wherecode.c
+++ b/src/wherecode.c
@@ -592,6 +592,8 @@ static int codeEqualityTerm(
if( i==iEq ){
pIn->iCur = iTab;
pIn->eEndLoopOp = bRev ? OP_PrevIfOpen : OP_NextIfOpen;
+ pIn->iBase = iReg - i;
+ pIn->nPrefix = i;
}else{
pIn->eEndLoopOp = OP_Noop;
}