mirror of
https://github.com/reactos/wine.git
synced 2024-11-28 14:10:32 +00:00
d3dxof: Use BOOL type where appropriate.
This commit is contained in:
parent
3f91834ffb
commit
497f088715
@ -542,7 +542,7 @@ static BOOL is_float(parse_buffer* buf)
|
||||
DWORD pos = 0;
|
||||
char c;
|
||||
float decimal;
|
||||
BOOL dot = 0;
|
||||
BOOL dot = FALSE;
|
||||
|
||||
while (pos < buf->rem_bytes && !is_separator(c = *(buf->buffer+pos)))
|
||||
{
|
||||
@ -899,10 +899,10 @@ static inline BOOL is_primitive_type(WORD token)
|
||||
case TOKEN_LPSTR:
|
||||
case TOKEN_UNICODE:
|
||||
case TOKEN_CSTRING:
|
||||
ret = 1;
|
||||
ret = TRUE;
|
||||
break;
|
||||
default:
|
||||
ret = 0;
|
||||
ret = FALSE;
|
||||
break;
|
||||
}
|
||||
return ret;
|
||||
@ -948,14 +948,14 @@ static BOOL parse_template_members_list(parse_buffer * buf)
|
||||
|
||||
while (1)
|
||||
{
|
||||
BOOL array = 0;
|
||||
BOOL array = FALSE;
|
||||
int nb_dims = 0;
|
||||
cur_member = &buf->pdxf->xtemplates[buf->pdxf->nb_xtemplates].members[idx_member];
|
||||
|
||||
if (check_TOKEN(buf) == TOKEN_ARRAY)
|
||||
{
|
||||
get_TOKEN(buf);
|
||||
array = 1;
|
||||
array = TRUE;
|
||||
}
|
||||
|
||||
if (check_TOKEN(buf) == TOKEN_NAME)
|
||||
|
Loading…
Reference in New Issue
Block a user