svn commit: r217359 - head/usr.sbin/kbdmap

Nathan Whitehorn nwhitehorn at FreeBSD.org
Thu Jan 13 16:42:17 UTC 2011


Author: nwhitehorn
Date: Thu Jan 13 16:42:16 2011
New Revision: 217359
URL: http://svn.freebsd.org/changeset/base/217359

Log:
  Use auto-sizing syntax appropriate for the new dialog(1). This should
  probably be modified to use libdialog.

Modified:
  head/usr.sbin/kbdmap/kbdmap.c

Modified: head/usr.sbin/kbdmap/kbdmap.c
==============================================================================
--- head/usr.sbin/kbdmap/kbdmap.c	Thu Jan 13 16:37:12 2011	(r217358)
+++ head/usr.sbin/kbdmap/kbdmap.c	Thu Jan 13 16:42:16 2011	(r217359)
@@ -337,7 +337,7 @@ show_dialog(struct keymap **km_sorted, i
 		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);
 


More information about the svn-src-head mailing list