Commit 24dd8d65 authored by Chris Allegretta's avatar Chris Allegretta
Browse files

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
No related merge requests found
Showing with 5 additions and 4 deletions
+5 -4
...@@ -667,6 +667,7 @@ int input_tab(char *buf, int place, int lastWasTab) ...@@ -667,6 +667,7 @@ int input_tab(char *buf, int place, int lastWasTab)
strncpy(buf + pos, matches[0] + pos, strncpy(buf + pos, matches[0] + pos,
strlen(matches[0]) - pos); strlen(matches[0]) - pos);
newplace += strlen(matches[0]) - pos; newplace += strlen(matches[0]) - pos;
beep();
break; break;
default: default:
/* Check to see if all matches share a beginning, and if so /* Check to see if all matches share a beginning, and if so
...@@ -746,7 +747,7 @@ int input_tab(char *buf, int place, int lastWasTab) ...@@ -746,7 +747,7 @@ int input_tab(char *buf, int place, int lastWasTab)
} }
free(foo); free(foo);
wrefresh(edit); wrefresh(edit);
} } else
beep(); beep();
} }
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: PACKAGE VERSION\n" "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" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
...@@ -107,7 +107,7 @@ msgstr "" ...@@ -107,7 +107,7 @@ msgstr ""
msgid "File exists, OVERWRITE ?" msgid "File exists, OVERWRITE ?"
msgstr "" msgstr ""
#: files.c:741 #: files.c:742
msgid "(more)" msgid "(more)"
msgstr "" msgstr ""
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment