diff --git a/source/src/menus.cpp b/source/src/menus.cpp index 5e4fe127..e4ae5a20 100644 --- a/source/src/menus.cpp +++ b/source/src/menus.cpp @@ -89,21 +89,21 @@ bool rendermenu() } int tw = text_width(title); if(tw>w) w = tw; - int step = FONTH/4*5; + int step = (FONTH*5)/4; int h = (mdisp+2)*step; int y = (VIRTH-h)/2; int x = (VIRTW-w)/2; static Texture *menutex = NULL; if(!menutex) menutex = textureload("packages/textures/makke/menu.jpg"); blendbox(x-FONTH*3/2, y-FONTH, x+w+FONTH*3/2, y+h+FONTH, true, menutex->id); - draw_text(title, x, y); if(offset>0) drawarrow(1, x+w+FONTH*3/2-FONTH*5/6, y-FONTH*5/6, FONTH*2/3); if(offset+MAXMENU