Commit 73e55922 authored by Gildas Bazin's avatar Gildas Bazin

* modules/gui/wxwindows/preferences_widgets.cpp: compilation fix.

parent c5695896
...@@ -420,7 +420,7 @@ void StringListConfigControl::OnAction( wxCommandEvent& event ) ...@@ -420,7 +420,7 @@ void StringListConfigControl::OnAction( wxCommandEvent& event )
vlc_value_t val; vlc_value_t val;
wxString value = GetPszValue(); wxString value = GetPszValue();
(const char *)val.psz_string = value.mb_str(); *((const char **)&val.psz_string) = value.mb_str();
p_item->ppf_action[i_action]( p_this, GetName().mb_str(), val, val, 0 ); p_item->ppf_action[i_action]( p_this, GetName().mb_str(), val, val, 0 );
if( p_item->b_dirty ) if( p_item->b_dirty )
......
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