Commit b7499db1 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Wx: compile fix

parent af96053d
...@@ -119,9 +119,10 @@ void MetaDataPanel::Update( input_item_t *p_item ) ...@@ -119,9 +119,10 @@ void MetaDataPanel::Update( input_item_t *p_item )
uri_text->SetValue( wxU( p_item->psz_uri ) ); uri_text->SetValue( wxU( p_item->psz_uri ) );
name_text->SetValue( wxU( p_item->psz_name ) ); name_text->SetValue( wxU( p_item->psz_name ) );
char *psz_meta;
#define UPDATE_META( meta, widget ) { \ #define UPDATE_META( meta, widget ) { \
char *psz_meta = input_item_Get##meta( p_item ); \ psz_meta = input_item_Get##meta( p_item ); \
if( psz_meta != NULL && *psz_meta) \ if( psz_meta != NULL && *psz_meta) \
{ \ { \
widget->SetLabel( wxU( psz_meta ) ); \ widget->SetLabel( wxU( psz_meta ) ); \
......
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