summaryrefslogtreecommitdiff
path: root/source/ui_menu.c
diff options
context:
space:
mode:
authorAndrey Nazarov <skuller@skuller.net>2008-02-17 22:53:39 +0000
committerAndrey Nazarov <skuller@skuller.net>2008-02-17 22:53:39 +0000
commit4034314816f7ec9e26c9b9bfc2630c8ca0a24874 (patch)
treed48be98832d2d9cb977540541fae1acb1859142b /source/ui_menu.c
parenta5afaf65af8ef50d1ce8bbd9e2133239013c26f7 (diff)
Huge search and replace commit.
Use fixed size integer types from stdint.h instead of custom defined ones. Get endianess infromation form endian.h. Added `remotemode' console command. Link with -ldl only on Linux.
Diffstat (limited to 'source/ui_menu.c')
-rw-r--r--source/ui_menu.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/ui_menu.c b/source/ui_menu.c
index 7657fe3..44795a8 100644
--- a/source/ui_menu.c
+++ b/source/ui_menu.c
@@ -56,7 +56,7 @@ Action_Draw
=================
*/
static void Action_Draw( menuAction_t *a ) {
- uint32 flags;
+ int flags;
flags = a->generic.uiFlags;
if( a->generic.flags & QMF_HASFOCUS ) {
@@ -189,7 +189,7 @@ Keybind_Draw
static void Keybind_Draw( menuKeybind_t *k ) {
char string[MAX_STRING_CHARS];
byte *color;
- uint32 flags;
+ int flags;
color = NULL;
flags = UI_ALTCOLOR;
@@ -260,7 +260,7 @@ Field_Draw
=================
*/
static void Field_Draw( menuField_t *f ) {
- uint32 flags = f->generic.uiFlags;
+ int flags = f->generic.uiFlags;
if( f->generic.flags & QMF_HASFOCUS ) {
flags |= UI_DRAWCURSOR;
@@ -720,7 +720,7 @@ static int MenuList_Key( menuList_t *l, int key ) {
MenuList_DrawString
=================
*/
-static void MenuList_DrawString( int x, int y, uint32 flags,
+static void MenuList_DrawString( int x, int y, int flags,
menuListColumn_t *column,
const char *string )
{