From c5199e9706232b41ade12049a7c9dae4dd327c7f Mon Sep 17 00:00:00 2001 From: Nathan Whitehorn Date: Thu, 13 Jan 2011 16:42:16 +0000 Subject: [PATCH] Use auto-sizing syntax appropriate for the new dialog(1). This should probably be modified to use libdialog. --- 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 cb00c6d2fd01..93c5a08debf2 100644 --- a/usr.sbin/kbdmap/kbdmap.c +++ b/usr.sbin/kbdmap/kbdmap.c @@ -337,7 +337,7 @@ show_dialog(struct keymap **km_sorted, int num_keymaps) exit(1); } asprintf(&dialog, "/usr/bin/dialog --clear --title \"Keyboard Menu\" " - "--menu \"%s\" -1 -1 10", menu); + "--menu \"%s\" 0 0 0", menu); ext = extract_name(dir);