comparison gui/ui/gtk/fileselect.c @ 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 4d7adee0a7ba
comparison
equal deleted inserted replaced
35352:96cda43fe250 35353:d59cf5c869f4
323 323
324 fsMedium=(fsType == fsVideoSelector || fsType == fsSubtitleSelector || fsType == fsAudioSelector); 324 fsMedium=(fsType == fsVideoSelector || fsType == fsSubtitleSelector || fsType == fsAudioSelector);
325 325
326 if ( !tmp && fsMedium ) tmp=guiInfo.Filename; 326 if ( !tmp && fsMedium ) tmp=guiInfo.Filename;
327 327
328 if ( tmp && tmp[0] ) 328 if ( tmp && tmp[0] && !strstr( tmp,"://" ) )
329 { 329 {
330 dir = strdup( tmp ); 330 dir = strdup( tmp );
331 331
332 do 332 do
333 { 333 {