[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] don't display menu when there's nothing in it
From: |
Robert Millan |
Subject: |
Re: [PATCH] don't display menu when there's nothing in it |
Date: |
Sat, 2 Feb 2008 17:47:51 +0100 |
User-agent: |
Mutt/1.5.13 (2006-08-11) |
On Sat, Feb 02, 2008 at 01:20:49PM +0100, Yoshinori K. Okuji wrote:
> 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)
Good catch. Committed.
--
Robert Millan
<GPLv2> I know my rights; I want my phone call!
<DRM> What use is a phone call… if you are unable to speak?
(as seen on /.)