Redo menu sizing to eliminate one of the analyzer hacks. There's no need to loop through the menu entries a second time to find the last one. The first time can remember it. Also, some routines were taking arguments with some_function(WINDOW *win, nhmenu *menu, ...) and others with other_function(nhmenu *menu, WINDOW *win, ...). Change them all to have the window pointer 1st and menu pointer 2nd.
1.5 KiB
1.5 KiB