From nobody Thu Mar 28 20:05:05 2024 Delivered-To: importer@patchew.org Received-SPF: none (zoho.com: 80.81.252.135 is neither permitted nor denied by domain of seabios.org) client-ip=80.81.252.135; envelope-from=seabios-bounces@seabios.org; helo=mail.coreboot.org; Authentication-Results: mx.zoho.com; dkim=fail spf=none (zoho.com: 80.81.252.135 is neither permitted nor denied by domain of seabios.org) smtp.mailfrom=seabios-bounces@seabios.org; Return-Path: Received: from mail.coreboot.org (mail.coreboot.org [80.81.252.135]) by mx.zohomail.com with SMTPS id 1493140038853340.46652387896415; Tue, 25 Apr 2017 10:07:18 -0700 (PDT) Received: from [127.0.0.1] (helo=ra.coresystems.de) by mail.coreboot.org with esmtp (Exim 4.86_2) (envelope-from ) id 1d33vh-0004o0-AR; Tue, 25 Apr 2017 19:07:09 +0200 Received: from mail-qt0-f195.google.com ([209.85.216.195]) by mail.coreboot.org with esmtps (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.86_2) (envelope-from ) id 1d33vV-0004kZ-UL for seabios@seabios.org; Tue, 25 Apr 2017 19:07:06 +0200 Received: by mail-qt0-f195.google.com with SMTP id t52so26014431qtb.3 for ; Tue, 25 Apr 2017 10:06:57 -0700 (PDT) Received: from localhost ([64.9.245.129]) by smtp.gmail.com with ESMTPSA id r129sm13629396qkb.16.2017.04.25.10.06.55 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 25 Apr 2017 10:06:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=koconnor-net.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id; bh=0sYwlxjSL4vdEZ37owoonAN9vpebB3brs5JyzV/oIX4=; b=yKTjRn24mT7S3LKa3Ow4xuWbgCBkQsFKHBPh40ux8pt2ttCWSNs9hud8F3lCIvoUBD M50YAy627AcPrp3aEJqgpvfbU4c+ADaBnb85QJJhl5iZbAymueh/sdHuMsASYvl+ecAX t7BNfGsBETwdzIhO/Kn2h15bRFx8e7t7wfviFiLuDy2MDMmL9/t4OdAx3zjuj8JOvxB5 chIWJV3NicwiRrq1xhWmv7aT3GwJ4m+sKtrIIfOsSJHErKyauwnmeZdPj3MkjwDzdsHR ADo7nmNF2T6sfj/1v57mk3tDMSuVzYKzsGwLSb5zkKYlcgAVGKey30FsKWzCmt7w5cfr zIIA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=0sYwlxjSL4vdEZ37owoonAN9vpebB3brs5JyzV/oIX4=; b=R/tYKieKaipK/sV58nJNpuMlPQc9ji80AYCibLH/rgvwaAjOeCbfPd9yrvQ4Jv1zcT jv4rZxw497FYtj4lOuIFT9bdCbD6O53VB2MYa70HLUYvZ6EYYy+9E4ufgDp+/v6OTCjZ cv/dgtlw6teOvLFyoO7IR5kjYjumycJXyMK7/Cybx1xbBtmn48aalBkPQ2Zqx4oa0HV5 HoO0Z0ZuXUnhFQNzuQVEdcLQ70JYPTaGG0pQGsNm+JGm82kSxMa6Um+fkfLrz3Wxg4eB HXdo/2b3w0tKh0oQqXQ0NV1PtNAaMmHmiGr5+MERjNPCQUdhim7wiRN1l3TrMkAFA4jT 4DNA== X-Gm-Message-State: AN3rC/643WqK80ynpuau90aVMctjEB8xTfOUE7Z3xOC83K46MYw++9EH uggJbHT0pNY9dhoY+Vo= X-Received: by 10.200.50.143 with SMTP id z15mr31553748qta.114.1493140015583; Tue, 25 Apr 2017 10:06:55 -0700 (PDT) From: Kevin O'Connor To: seabios@seabios.org Date: Tue, 25 Apr 2017 13:06:53 -0400 Message-Id: <1493140013-21318-1-git-send-email-kevin@koconnor.net> X-Mailer: git-send-email 2.5.5 X-Spam-Score: -2.1 (--) Subject: [SeaBIOS] [PATCH] boot: Increase description size in boot menu X-BeenThere: seabios@seabios.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: SeaBIOS mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Errors-To: seabios-bounces@seabios.org Sender: "SeaBIOS" X-Duff: Orig. Duff, Duff Lite, Duff Dry, Duff Dark, Raspberry Duff, Lady Duff, Red Duff, Tartar Control Duff X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZohoMail: RDKM_2 RSF_4 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" Increase the boot menu description size so that menu items up to 80 characters display without truncation. Reported-by: Rene Shuster Signed-off-by: Kevin O'Connor --- src/boot.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/boot.c b/src/boot.c index 706b7df..59623fb 100644 --- a/src/boot.c +++ b/src/boot.c @@ -482,7 +482,7 @@ interactive_bootmenu(void) int maxmenu =3D 0; struct bootentry_s *pos; hlist_for_each_entry(pos, &BootList, node) { - char desc[60]; + char desc[77]; maxmenu++; printf("%d. %s\n", maxmenu , strtcpy(desc, pos->description, ARRAY_SIZE(desc))); --=20 2.5.5 _______________________________________________ SeaBIOS mailing list SeaBIOS@seabios.org https://mail.coreboot.org/mailman/listinfo/seabios