Fix the search sequence for keymaps.

PR:		bin/6522
Submitted by:	Rudolf Cejka
This commit is contained in:
Dag-Erling Smørgrav 1998-05-05 19:02:01 +00:00
parent eb011aea8d
commit 7e5ee0f5eb
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=35750

View File

@ -28,7 +28,7 @@
#ifndef lint
static const char rcsid[] =
"$Id: kbdcontrol.c,v 1.12 1998/01/07 08:43:27 yokota Exp $";
"$Id: kbdcontrol.c,v 1.13 1998/01/12 23:53:26 yokota Exp $";
#endif /* not lint */
#include <ctype.h>
@ -650,8 +650,8 @@ load_keymap(char *opt, int dumponly)
FILE *fd;
int i;
char *name, *cp;
char *prefix[] = {"", "", KEYMAP_PATH, NULL};
char *postfix[] = {"", ".kbd", ".kbd"};
char *prefix[] = {"", "", KEYMAP_PATH, KEYMAP_PATH, NULL};
char *postfix[] = {"", ".kbd", "", ".kbd"};
for (i=0; prefix[i]; i++) {
name = mkfullname(prefix[i], opt, postfix[i]);