mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-02 15:28:03 +00:00
wrc: Use BOOL type where appropriate.
This commit is contained in:
parent
31a6fce46b
commit
a46da0e86a
1 changed files with 6 additions and 6 deletions
|
@ -124,10 +124,10 @@ static char *get_message_context( char **msgid )
|
|||
return context;
|
||||
}
|
||||
|
||||
static int control_has_title( const control_t *ctrl )
|
||||
static BOOL control_has_title( const control_t *ctrl )
|
||||
{
|
||||
if (!ctrl->title) return 0;
|
||||
if (ctrl->title->type != name_str) return 0;
|
||||
if (!ctrl->title) return FALSE;
|
||||
if (ctrl->title->type != name_str) return FALSE;
|
||||
/* check for text static control */
|
||||
if (ctrl->ctlclass && ctrl->ctlclass->type == name_ord && ctrl->ctlclass->name.i_name == CT_STATIC)
|
||||
{
|
||||
|
@ -136,12 +136,12 @@ static int control_has_title( const control_t *ctrl )
|
|||
case SS_LEFT:
|
||||
case SS_CENTER:
|
||||
case SS_RIGHT:
|
||||
return 1;
|
||||
return TRUE;
|
||||
default:
|
||||
return 0;
|
||||
return FALSE;
|
||||
}
|
||||
}
|
||||
return 1;
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
static resource_t *dup_resource( resource_t *res, language_t *lang )
|
||||
|
|
Loading…
Reference in a new issue