]> git.sesse.net Git - vlc/commitdiff
* modules/gui/wxwindows/fileinfo.cpp: fixed typo.
authorGildas Bazin <gbazin@videolan.org>
Mon, 28 Jun 2004 14:04:07 +0000 (14:04 +0000)
committerGildas Bazin <gbazin@videolan.org>
Mon, 28 Jun 2004 14:04:07 +0000 (14:04 +0000)
modules/gui/wxwindows/fileinfo.cpp

index f0cdb34d0dfdcbeb246c7a10e1732307cda7cc31..2ff146ebdaf238928c198a818ba76826a89eea6b 100644 (file)
@@ -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) )