From: David Lawrence Ramsey Date: Mon, 4 Oct 2004 15:53:40 +0000 (+0000) Subject: add another cosmetic fix X-Git-Tag: v1.3.5~158 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=77e02a3e74e21ad1071f07dfb3eae9b0fc4cfb5b;p=nano.git add another cosmetic fix git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1962 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- 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) {