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
187065e1
Commit
187065e1
authored
Jan 30, 2012
by
Henri Verbeet
Committed by
Alexandre Julliard
Jan 31, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wrc: Avoid an unused function warning when HAVE_LIBGETTEXTPO is not defined.
parent
0d8e6719
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
+10
-10
po.c
tools/wrc/po.c
+10
-10
No files found.
tools/wrc/po.c
View file @
187065e1
...
...
@@ -124,16 +124,6 @@ static char *get_message_context( char **msgid )
return
context
;
}
static
int
string_has_context
(
const
string_t
*
str
)
{
char
*
id
,
*
id_buffer
,
*
context
;
id_buffer
=
id
=
convert_msgid_ascii
(
str
,
1
);
context
=
get_message_context
(
&
id
);
free
(
id_buffer
);
return
context
!=
NULL
;
}
static
int
control_has_title
(
const
control_t
*
ctrl
)
{
if
(
!
ctrl
->
title
)
return
0
;
...
...
@@ -819,6 +809,16 @@ 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
)
{
char
*
id
,
*
id_buffer
,
*
context
;
id_buffer
=
id
=
convert_msgid_ascii
(
str
,
1
);
context
=
get_message_context
(
&
id
);
free
(
id_buffer
);
return
context
!=
NULL
;
}
static
void
add_pot_accel
(
po_file_t
po
,
const
resource_t
*
res
)
{
event_t
*
event
=
res
->
res
.
acc
->
events
;
...
...
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