Commit ca9c15af authored by Gildas Bazin's avatar Gildas Bazin

* modules/gui/wxwindows/fileinfo.cpp: partially fixed char encoding problem in fileinfo dialog.

parent 8b6f1205
......@@ -122,13 +122,13 @@ void FileInfo::UpdateFileInfo()
info_category_t *p_cat = p_input->input.p_item->pp_categories[i];
wxTreeItemId cat = fileinfo_tree->AppendItem( fileinfo_root,
wxL2U(p_cat->psz_name) );
wxU(p_cat->psz_name) );
for( int j = 0; j < p_cat->i_infos; j++ )
{
info_t *p_info = p_cat->pp_infos[j];
fileinfo_tree->AppendItem( cat, (wxString)wxL2U(p_info->psz_name) +
wxT(": ") + wxL2U(p_info->psz_value) );
fileinfo_tree->AppendItem( cat, (wxString)wxU(p_info->psz_name) +
wxT(": ") + wxU(p_info->psz_value) );
}
fileinfo_tree->Expand( cat );
}
......
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