Fix obvious off by one error: prefix[1] should be set to the path of the
newcons specific keymap files, not prefix[2]. The result of this bug was that kbdcontrol ignored the files in the syscons keymap directory, which apparently still work under newcons, for most locales. MFC after: 1 week
This commit is contained in:
parent
0f4faf42cb
commit
5f9be87d80
@ -804,7 +804,7 @@ load_keymap(char *opt, int dumponly)
|
||||
char *postfix[] = {blank, dotkbd, NULL};
|
||||
|
||||
if (is_vt4())
|
||||
prefix[2] = vt_keymap_path;
|
||||
prefix[1] = vt_keymap_path;
|
||||
cp = getenv("KEYMAP_PATH");
|
||||
if (cp != NULL)
|
||||
asprintf(&(prefix[0]), "%s/", cp);
|
||||
|
Loading…
Reference in New Issue
Block a user