From 77e02a3e74e21ad1071f07dfb3eae9b0fc4cfb5b Mon Sep 17 00:00:00 2001 From: David Lawrence Ramsey Date: Mon, 4 Oct 2004 15:53:40 +0000 Subject: [PATCH] add another cosmetic fix git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1962 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- src/search.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/search.c b/src/search.c index 0d2511cf..121e57c4 100644 --- a/src/search.c +++ b/src/search.c @@ -869,7 +869,7 @@ void do_gotoline(int line, bool save_pos) free(ans); /* Cancel, or Enter with blank string. */ - if (i == -1 || i == -2) + if (i < 0) statusbar(_("Cancelled")); if (i == NANO_TOOTHERWHEREIS_KEY) { -- 2.39.5