d3dxof: Use BOOL type where appropriate.

oldstable
Frédéric Delanoy 2013-10-18 12:35:08 +02:00 committed by Alexandre Julliard
parent 3f91834ffb
commit 497f088715
1 changed files with 5 additions and 5 deletions

View File

@ -542,7 +542,7 @@ static BOOL is_float(parse_buffer* buf)
DWORD pos = 0; DWORD pos = 0;
char c; char c;
float decimal; float decimal;
BOOL dot = 0; BOOL dot = FALSE;
while (pos < buf->rem_bytes && !is_separator(c = *(buf->buffer+pos))) 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_LPSTR:
case TOKEN_UNICODE: case TOKEN_UNICODE:
case TOKEN_CSTRING: case TOKEN_CSTRING:
ret = 1; ret = TRUE;
break; break;
default: default:
ret = 0; ret = FALSE;
break; break;
} }
return ret; return ret;
@ -948,14 +948,14 @@ static BOOL parse_template_members_list(parse_buffer * buf)
while (1) while (1)
{ {
BOOL array = 0; BOOL array = FALSE;
int nb_dims = 0; int nb_dims = 0;
cur_member = &buf->pdxf->xtemplates[buf->pdxf->nb_xtemplates].members[idx_member]; cur_member = &buf->pdxf->xtemplates[buf->pdxf->nb_xtemplates].members[idx_member];
if (check_TOKEN(buf) == TOKEN_ARRAY) if (check_TOKEN(buf) == TOKEN_ARRAY)
{ {
get_TOKEN(buf); get_TOKEN(buf);
array = 1; array = TRUE;
} }
if (check_TOKEN(buf) == TOKEN_NAME) if (check_TOKEN(buf) == TOKEN_NAME)