From 9c100b6f8f06bd61d1f496919d31adc8472ca024 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Mon, 13 Jul 2009 14:14:40 +0200 Subject: [PATCH] Fix rset_default_forward to use scope --- rset/rset.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rset/rset.c b/rset/rset.c index 59d9dfd..114a36e 100644 --- a/rset/rset.c +++ b/rset/rset.c @@ -405,7 +405,7 @@ int rset_default_forward(RSFD rfd, void *buf, TERMID *term, while ((more = rset_read(rfd, buf, term)) > 0) { - if ((rfd->rset->keycontrol->cmp)(untilbuf, buf) <= 1) + if ((rfd->rset->keycontrol->cmp)(untilbuf, buf) < rset->scope) break; } if (log_level) -- 1.7.10.4