bug-ncurses
[Top][All Lists]
Advanced

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

set_menu_format in demo_menus.c


From: Mike Gran
Subject: set_menu_format in demo_menus.c
Date: Sat, 9 Feb 2008 09:31:45 -0800 (PST)

Hi-

In the call to set_menu_format in demo_menus.c in the ncurses package, it looks 
like there is some confusion between the number of columns on the screen and 
the number of columns in the menu.  I think set_menu_format expects the latter, 
but, for very tiny screens, may be given the former in the current demo.

I think the attached patch is what was intended.

Thanks,

Mike Gran



Attachment: demo_menus.c.patch
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]