git: 1de4665dfcd7 - main - kbdmap: adapt to the new libbsddialog API
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 13 Dec 2021 08:10:42 UTC
The branch main has been updated by bapt: URL: https://cgit.FreeBSD.org/src/commit/?id=1de4665dfcd7e158b09757dba31648397cd11c81 commit 1de4665dfcd7e158b09757dba31648397cd11c81 Author: Alfonso Siciliano <alfsiciliano@gmail.com> AuthorDate: 2021-12-13 08:06:21 +0000 Commit: Baptiste Daroussin <bapt@FreeBSD.org> CommitDate: 2021-12-13 08:08:09 +0000 kbdmap: adapt to the new libbsddialog API Differential Revision: https://reviews.freebsd.org/D33398 --- usr.sbin/kbdmap/kbdmap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr.sbin/kbdmap/kbdmap.c b/usr.sbin/kbdmap/kbdmap.c index c3ed13237b8d..ef6e4812a3fc 100644 --- a/usr.sbin/kbdmap/kbdmap.c +++ b/usr.sbin/kbdmap/kbdmap.c @@ -392,7 +392,7 @@ show_dialog(struct keymap **km_sorted, int num_keymaps) num_keymaps, listitems, NULL); bsddialog_end(); switch (result) { - case BSDDIALOG_YESOK: + case BSDDIALOG_OK: for (i = 0; i < num_keymaps; i++) { if (listitems[i].on) { printf("ici\n");