changeset 35353:d59cf5c869f4

Don't consider URL portions a directory. They would appear in the fsPathCombo otherwise.
author ib
date Thu, 22 Nov 2012 14:32:37 +0000
parents 96cda43fe250
children 2ce3d21157ed
files gui/ui/gtk/fileselect.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/gui/ui/gtk/fileselect.c	Thu Nov 22 14:13:43 2012 +0000
+++ b/gui/ui/gtk/fileselect.c	Thu Nov 22 14:32:37 2012 +0000
@@ -325,7 +325,7 @@
 
  if ( !tmp && fsMedium ) tmp=guiInfo.Filename;
 
- if ( tmp && tmp[0] )
+ if ( tmp && tmp[0] && !strstr( tmp,"://" ) )
   {
    dir = strdup( tmp );