1
0
mirror of https://github.com/cc65/cc65.git synced 2024-07-05 06:28:57 +00:00

vertical menus height was too small by one pixel

git-svn-id: svn://svn.cc65.org/cc65/trunk@2037 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
izydorst 2003-04-04 14:07:01 +00:00
parent ef7ebfff09
commit c415dc82d9

View File

@ -320,7 +320,7 @@ struct menuitem *curItem, *newItem;
};
} else {
/* menu is VERTICAL, ysize=item*15, count largest xsize of all items +~8? */
myMenu.bot=myMenu.top+(14*item)-1;
myMenu.bot=myMenu.top+(14*item);
for (a=0;a!=item;a++) {
tmpsize=getNameSize(curItem->name);
size = (size > tmpsize) ? size : tmpsize;