Fix warnings.

git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1985 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
meep-eep
2005-11-11 01:32:53 +00:00
parent e07b42268f
commit dfa6107f2c
2 changed files with 6 additions and 6 deletions
+4 -4
View File
@@ -20,7 +20,7 @@
#define MAX_REG_DECODERS 31
static bool vd_inited = 0;
static bool vd_inited = false;
static TFB_PixelFormat vd_vidfmt;
static int vd_flags = 0;
@@ -53,7 +53,7 @@ VideoDecoder_Init (int flags, int depth, uint32 Rmask, uint32 Gmask,
{
TFB_RegVideoDecoder* info;
vd_inited = 0;
vd_inited = false;
if (depth < 15 || depth > 32)
{
@@ -94,7 +94,7 @@ VideoDecoder_Init (int flags, int depth, uint32 Rmask, uint32 Gmask,
}
vd_flags = flags;
vd_inited = 1;
vd_inited = true;
return true;
}
@@ -118,7 +118,7 @@ VideoDecoder_Uninit (void)
}
}
vd_inited = 0;
vd_inited = false;
}
TFB_RegVideoDecoder*
+2 -2
View File
@@ -1208,8 +1208,8 @@ IP_frame (void)
if (pSolarSysState->MenuState.CurState
|| pSolarSysState->MenuState.Initialized != 1)
{
cancel = 0;
select = 0;
cancel = FALSE;
select = FALSE;
}
else
{