]> git.sur5r.net Git - cc65/commitdiff
vertical menus height was too small by one pixel
authorizydorst <izydorst@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Fri, 4 Apr 2003 14:07:01 +0000 (14:07 +0000)
committerizydorst <izydorst@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Fri, 4 Apr 2003 14:07:01 +0000 (14:07 +0000)
git-svn-id: svn://svn.cc65.org/cc65/trunk@2037 b7a2c559-68d2-44c3-8de9-860c34a00d81

src/grc/grc.c

index 08484988396d9deb69210f6b9a174ab9d68f9506..342f25ddee5a424595419b9de4a85e1ecf2a3fb2 100644 (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;