From: Ari Johnson Date: Tue, 20 Feb 2007 14:58:35 +0000 (+0000) Subject: lsearch() with no results no longer returns #-1; error still gets you #-1 X-Git-Tag: 0.73~210 X-Git-Url: https://git.theari.com/?a=commitdiff_plain;h=36bfb9ee9d613e498b596c162a3edee09784912f;p=cobramush.git lsearch() with no results no longer returns #-1; error still gets you #-1 --- diff --git a/src/wiz.c b/src/wiz.c index e49f5f0..7281a9d 100644 --- a/src/wiz.c +++ b/src/wiz.c @@ -1286,7 +1286,6 @@ FUNCTION(fun_lsearch) safe_str("#-1", buff, bp); } else if (nresults == 0) { notify(executor, T("Nothing found.")); - safe_str("#-1", buff, bp); } else { int first = 1, n; if (!rev) {