Oops, dont beep so much ;) Yes when we find one match and fill in buf, no otherwise

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@276 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
master
Chris Allegretta 2000-11-06 05:45:48 +00:00
parent 24342437c7
commit 24dd8d6532
2 changed files with 5 additions and 4 deletions

View File

@ -667,6 +667,7 @@ int input_tab(char *buf, int place, int lastWasTab)
strncpy(buf + pos, matches[0] + pos,
strlen(matches[0]) - pos);
newplace += strlen(matches[0]) - pos;
beep();
break;
default:
/* Check to see if all matches share a beginning, and if so
@ -746,8 +747,8 @@ int input_tab(char *buf, int place, int lastWasTab)
}
free(foo);
wrefresh(edit);
}
beep();
} else
beep();
}

View File

@ -6,7 +6,7 @@
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"POT-Creation-Date: 2000-11-06 00:41-0500\n"
"POT-Creation-Date: 2000-11-06 00:45-0500\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@ -107,7 +107,7 @@ msgstr ""
msgid "File exists, OVERWRITE ?"
msgstr ""
#: files.c:741
#: files.c:742
msgid "(more)"
msgstr ""