Re: [PATCH] main.c: init_menu: Properly calculate the number of menu items



> > 2003-07-28  Pavel Tsekov  <ptsekov 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




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]