]> git.wh0rd.org Git - nano.git/commitdiff
Oops, dont beep so much ;) Yes when we find one match and fill in buf, no otherwise
authorChris Allegretta <chrisa@asty.org>
Mon, 6 Nov 2000 05:45:48 +0000 (05:45 +0000)
committerChris Allegretta <chrisa@asty.org>
Mon, 6 Nov 2000 05:45:48 +0000 (05:45 +0000)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@276 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

files.c
po/nano.pot

diff --git a/files.c b/files.c
index 0866e74300aa40d1e39be7692498b6fa97819bca..395db85606d3ec820a05fc76cdfa348ff4155fe8 100644 (file)
--- a/files.c
+++ b/files.c
@@ -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();
 
     }
 
index b356a59abe5d4205786ca356356555907698ecb8..c3de4cc18d2f456b916dc0a11b12589ac02f7ee4 100644 (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 ""