From f7d8cbbe09b146310a68d34d73bf2a2cee17c94c Mon Sep 17 00:00:00 2001 From: Lee Salzman Date: Wed, 4 Apr 2007 23:07:15 +0000 Subject: [PATCH] *** empty log message *** git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@920 e016b1c5-ed68-44aa-a2f7-31cac88cffde --- source/src/menus.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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