[MPlayer-cvslog] r35447 - trunk/gui/ui/gtk/fileselect.c

ib subversion at mplayerhq.hu
Thu Nov 22 15:32:37 CET 2012


Author: ib
Date: Thu Nov 22 15:32:37 2012
New Revision: 35447

Log:
Don't consider URL portions a directory.

They would appear in the fsPathCombo otherwise.

Modified:
   trunk/gui/ui/gtk/fileselect.c

Modified: trunk/gui/ui/gtk/fileselect.c
==============================================================================
--- trunk/gui/ui/gtk/fileselect.c	Thu Nov 22 15:13:43 2012	(r35446)
+++ trunk/gui/ui/gtk/fileselect.c	Thu Nov 22 15:32:37 2012	(r35447)
@@ -325,7 +325,7 @@ void ShowFileSelect( int type,int modal 
 
  if ( !tmp && fsMedium ) tmp=guiInfo.Filename;
 
- if ( tmp && tmp[0] )
+ if ( tmp && tmp[0] && !strstr( tmp,"://" ) )
   {
    dir = strdup( tmp );
 


More information about the MPlayer-cvslog mailing list