]> git.wh0rd.org Git - nano.git/commitdiff
add another cosmetic fix
authorDavid Lawrence Ramsey <pooka109@gmail.com>
Mon, 4 Oct 2004 15:53:40 +0000 (15:53 +0000)
committerDavid Lawrence Ramsey <pooka109@gmail.com>
Mon, 4 Oct 2004 15:53:40 +0000 (15:53 +0000)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1962 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

src/search.c

index 0d2511cf12f91044d0c458702502ff4c1a74469c..121e57c4e92790b1d020e9a974f1f382bbae6918 100644 (file)
@@ -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) {