From owner-svn-src-all@FreeBSD.ORG Thu Jan 13 16:42:17 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 45476106564A; Thu, 13 Jan 2011 16:42:17 +0000 (UTC) (envelope-from nwhitehorn@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 33F368FC0A; Thu, 13 Jan 2011 16:42:17 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p0DGgHFj056821; Thu, 13 Jan 2011 16:42:17 GMT (envelope-from nwhitehorn@svn.freebsd.org) Received: (from nwhitehorn@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p0DGgHKX056819; Thu, 13 Jan 2011 16:42:17 GMT (envelope-from nwhitehorn@svn.freebsd.org) Message-Id: <201101131642.p0DGgHKX056819@svn.freebsd.org> From: Nathan Whitehorn Date: Thu, 13 Jan 2011 16:42:17 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r217359 - head/usr.sbin/kbdmap X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Jan 2011 16:42:17 -0000 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);