mirror of
https://github.com/cc65/cc65.git
synced 2024-07-08 10:29:04 +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:
parent
ef7ebfff09
commit
c415dc82d9
@ -320,7 +320,7 @@ struct menuitem *curItem, *newItem;
|
|||||||
};
|
};
|
||||||
} else {
|
} else {
|
||||||
/* menu is VERTICAL, ysize=item*15, count largest xsize of all items +~8? */
|
/* 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++) {
|
for (a=0;a!=item;a++) {
|
||||||
tmpsize=getNameSize(curItem->name);
|
tmpsize=getNameSize(curItem->name);
|
||||||
size = (size > tmpsize) ? size : tmpsize;
|
size = (size > tmpsize) ? size : tmpsize;
|
||||||
|
Loading…
Reference in New Issue
Block a user