diff options
author | Andrey Nazarov <skuller@skuller.net> | 2011-02-09 19:10:58 +0300 |
---|---|---|
committer | Andrey Nazarov <skuller@skuller.net> | 2011-02-09 19:10:58 +0300 |
commit | 608c45df70fcd94e431c93bf04a0bac9e76bbf49 (patch) | |
tree | d7b5a042d9e79616a544e8cf81698c7033757c0a /src/ui_menu.c | |
parent | 0ea2bb843c9d5af80a9cec62adfbcc3d42aefb9e (diff) |
Use CHAR_WIDTH/HEIGHT constants everywhere.
Diffstat (limited to 'src/ui_menu.c')
-rw-r--r-- | src/ui_menu.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ui_menu.c b/src/ui_menu.c index d9265e6..42d4459 100644 --- a/src/ui_menu.c +++ b/src/ui_menu.c @@ -1564,8 +1564,8 @@ void Menu_Draw( menuFrameWork_t *menu ) { // draw status bar // if( menu->status ) { - R_DrawFill( 0, menu->y2 - 8, uis.width, 8, 4 ); - UI_DrawString( uis.width / 2, menu->y2 - 8, NULL, + R_DrawFill( 0, menu->y2 - CHAR_HEIGHT, uis.width, CHAR_HEIGHT, 4 ); + UI_DrawString( uis.width / 2, menu->y2 - CHAR_HEIGHT, NULL, UI_CENTER, menu->status ); } } |