kbdmap: fix typo preventing kbdmap to work under vt

This commit is contained in:
Baptiste Daroussin 2024-02-01 08:44:04 +01:00
parent f14ea00c8f
commit 0f4e803733

View File

@ -398,7 +398,7 @@ show_dialog(struct keymap **km_sorted, int num_keymaps)
case BSDDIALOG_OK:
for (i = 0; i < num_keymaps; i++) {
if (listitems[i].on) {
if (!strcmp(program, "kdbmap"))
if (!strcmp(program, "kbdmap"))
do_kbdcontrol(km_sorted[i]);
else
do_vidfont(km_sorted[i]);