Commit 187065e1 authored by Henri Verbeet's avatar Henri Verbeet Committed by Alexandre Julliard

wrc: Avoid an unused function warning when HAVE_LIBGETTEXTPO is not defined.

parent 0d8e6719
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment