Commit 8cb4d991 authored by Gildas Bazin's avatar Gildas Bazin

* modules/gui/wxwindows/fileinfo.cpp: fixed typo.

parent 5d8c765a
......@@ -87,7 +87,7 @@ void FileInfo::UpdateFileInfo()
{
input_thread_t *p_input = p_intf->p_sys->p_input;
if( !p_input || p_input->b_dead || p_input->input.p_item->psz_name )
if( !p_input || p_input->b_dead || !p_input->input.p_item->psz_name )
{
if( fileinfo_root )
{
......@@ -103,7 +103,8 @@ void FileInfo::UpdateFileInfo()
* retrieved with the GetItemText() method, but it doesn't work on
* Windows when the wxTR_HIDE_ROOT style is set. That's why we need to
* use the fileinfo_root_label variable... */
fileinfo_root = fileinfo_tree->AddRoot( wxL2U(p_input->input.p_item->psz_name) );
fileinfo_root =
fileinfo_tree->AddRoot( wxL2U(p_input->input.p_item->psz_name) );
fileinfo_root_label = wxL2U(p_input->input.p_item->psz_name);
}
else if( fileinfo_root_label == wxL2U(p_input->input.p_item->psz_name) )
......
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