From: Chris Allegretta Date: Mon, 6 Nov 2000 05:41:20 +0000 (+0000) Subject: Blank edit window when no matches found X-Git-Tag: v0.9.20~22 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=24342437c72b90a94621f79c001211fb7f7f4a2e;p=nano.git Blank edit window when no matches found git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@275 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- diff --git a/files.c b/files.c index 029a482e..0866e743 100644 --- a/files.c +++ b/files.c @@ -659,6 +659,7 @@ int input_tab(char *buf, int place, int lastWasTab) /* Did we find exactly one match? */ switch(num_matches) { case 0: + blank_edit(); break; case 1: buf = nrealloc(buf, strlen(buf) + strlen(matches[0]) - pos + 1); diff --git a/po/nano.pot b/po/nano.pot index 31916563..b356a59a 100644 --- a/po/nano.pot +++ b/po/nano.pot @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" -"POT-Creation-Date: 2000-11-06 00:38-0500\n" +"POT-Creation-Date: 2000-11-06 00:41-0500\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -107,7 +107,7 @@ msgstr "" msgid "File exists, OVERWRITE ?" msgstr "" -#: files.c:740 +#: files.c:741 msgid "(more)" msgstr ""