diff --git a/sc2/src/sc2code/libs/video/videodec.c b/sc2/src/sc2code/libs/video/videodec.c index 64d013b7f..377633c56 100644 --- a/sc2/src/sc2code/libs/video/videodec.c +++ b/sc2/src/sc2code/libs/video/videodec.c @@ -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* diff --git a/sc2/src/sc2code/planets/solarsys.c b/sc2/src/sc2code/planets/solarsys.c index 666ad4261..2f1d03b9c 100644 --- a/sc2/src/sc2code/planets/solarsys.c +++ b/sc2/src/sc2code/planets/solarsys.c @@ -1208,8 +1208,8 @@ IP_frame (void) if (pSolarSysState->MenuState.CurState || pSolarSysState->MenuState.Initialized != 1) { - cancel = 0; - select = 0; + cancel = FALSE; + select = FALSE; } else {