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
5f607a95
Commit
5f607a95
authored
Sep 28, 2013
by
Frédéric Delanoy
Committed by
Alexandre Julliard
Sep 30, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wrc: Use BOOL type where appropriate.
parent
bf36cf28
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
po.c
tools/wrc/po.c
+4
-4
No files found.
tools/wrc/po.c
View file @
5f607a95
...
...
@@ -54,17 +54,17 @@ struct mo_file
/* ... rest of file data here */
};
static
int
is_english
(
const
language_t
*
lan
)
static
BOOL
is_english
(
const
language_t
*
lan
)
{
return
lan
->
id
==
LANG_ENGLISH
&&
lan
->
sub
==
SUBLANG_DEFAULT
;
}
static
int
is_rtl_language
(
const
language_t
*
lan
)
static
BOOL
is_rtl_language
(
const
language_t
*
lan
)
{
return
lan
->
id
==
LANG_ARABIC
||
lan
->
id
==
LANG_HEBREW
||
lan
->
id
==
LANG_PERSIAN
;
}
static
int
uses_larger_font
(
const
language_t
*
lan
)
static
BOOL
uses_larger_font
(
const
language_t
*
lan
)
{
return
lan
->
id
==
LANG_CHINESE
||
lan
->
id
==
LANG_JAPANESE
||
lan
->
id
==
LANG_KOREAN
;
}
...
...
@@ -810,7 +810,7 @@ static void add_po_menu( const resource_t *english, const resource_t *res )
add_po_menu_items
(
po
,
english_items
,
items
,
res
->
res
.
men
->
lvc
.
language
);
}
static
int
string_has_context
(
const
string_t
*
str
)
static
BOOL
string_has_context
(
const
string_t
*
str
)
{
char
*
id
,
*
id_buffer
,
*
context
;
...
...
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