All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Yoshinori K. Okuji" <okuji@enbug.org>
To: The development of GRUB 2 <grub-devel@gnu.org>
Subject: Re: [PATCH] don't display menu when there's nothing in it
Date: Sat, 2 Feb 2008 13:20:49 +0100	[thread overview]
Message-ID: <200802021320.49710.okuji@enbug.org> (raw)
In-Reply-To: <20080201200230.GA29932@thorin>

On Friday 01 February 2008 21:02, Robert Millan wrote:
> normal.mod seems to insist in displaying a menu even if grub.cfg didn't
> define any menu entries.  This seems to be due to a bogus check (for
> menu instead of menu->size).

It is not completely bogus, since MENU can be NULL. Probably what you want is:

  if (menu && menu->size)

Okuji



  reply	other threads:[~2008-02-02 12:20 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-01 20:02 [PATCH] don't display menu when there's nothing in it Robert Millan
2008-02-02 12:20 ` Yoshinori K. Okuji [this message]
2008-02-02 16:47   ` Robert Millan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200802021320.49710.okuji@enbug.org \
    --to=okuji@enbug.org \
    --cc=grub-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.