Commit 497f0887 authored by Frédéric Delanoy's avatar Frédéric Delanoy Committed by Alexandre Julliard

d3dxof: Use BOOL type where appropriate.

parent 3f91834f
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment