[PATCH] main.c: init_menu: Properly calculate the number of menu items
Pavel Tsekov
ptsekov at gmx.net
Sat Aug 2 09:24:11 UTC 2003
> > 2003-07-28 Pavel Tsekov <ptsekov at gmx.net>
> >
> > * main.c: Properly calculate the number of menu items in the
> Right/Below
> > menu.
>
> I don't know why you needed this patch, but I've applied it because it's
> correct. I also renamed PanelMenu to LeftMenu for symmetry.
Well, I have tested my change drive patch and added a menu item only to the
left
menu. Then MC started crashing for the obvious reason. Anyway I think the
code is
much cleaner, not confusing and correct with that patch. And obviously the
original
code assumed that the menu items on the left and the right menus are always
the
same which may not be true.
--
COMPUTERBILD 15/03: Premium-e-mail-Dienste im Test
--------------------------------------------------
1. GMX TopMail - Platz 1 und Testsieger!
2. GMX ProMail - Platz 2 und Preis-Qualitätssieger!
3. Arcor - 4. web.de - 5. T-Online - 6. freenet.de - 7. daybyday - 8. e-Post
More information about the mc-devel
mailing list