Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
a46da0e8
Commit
a46da0e8
authored
Sep 21, 2013
by
Frédéric Delanoy
Committed by
Alexandre Julliard
Sep 23, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wrc: Use BOOL type where appropriate.
parent
31a6fce4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
po.c
tools/wrc/po.c
+6
-6
No files found.
tools/wrc/po.c
View file @
a46da0e8
...
...
@@ -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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment