Viewing contents of file '../idllib/astron/contrib/varosi/code/allpro/check_menu_size.pro'
pro check_menu_size, menu

;This is only needed for SunView on the Sun386i (when using Large wmenu font).

if (!Version.Arch EQ '386i') then begin

	nextra = N_elements( menu ) MOD 36

	if (nextra GE 29) then menu = [ menu, replicate( " ", 36-nextra ) ]
   endif
end