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-d3aeb78583b8master
parent
24342437c7
commit
24dd8d6532
5
files.c
5
files.c
|
@ -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,8 +747,8 @@ int input_tab(char *buf, int place, int lastWasTab)
|
||||||
}
|
}
|
||||||
free(foo);
|
free(foo);
|
||||||
wrefresh(edit);
|
wrefresh(edit);
|
||||||
}
|
} else
|
||||||
beep();
|
beep();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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 ""
|
||||||
msgid "File exists, OVERWRITE ?"
|
msgid "File exists, OVERWRITE ?"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: files.c:741
|
#: files.c:742
|
||||||
msgid "(more)"
|
msgid "(more)"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue