Use auto-sizing syntax appropriate for the new dialog(1). This should

probably be modified to use libdialog.
This commit is contained in:
Nathan Whitehorn 2011-01-13 16:42:16 +00:00
parent 58ea87019e
commit c5199e9706

View File

@ -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);