Commit ffed58d4 authored by Derk-Jan Hartman's avatar Derk-Jan Hartman

* ahum. == on a mask instead of &

parent 1b8e481a
......@@ -254,7 +254,7 @@ int ReadDir( playlist_t *p_playlist, char *psz_name , int i_mode, int *pi_positi
stat( psz_uri, &stat_data );
if( S_ISDIR(stat_data.st_mode) && i_mode != MODE_COLLAPSE )
#elif defined( DT_DIR )
if( p_dir_content->d_type == DT_DIR && i_mode != MODE_COLLAPSE )
if( ( p_dir_content->d_type & DT_DIR ) && i_mode != MODE_COLLAPSE )
#else
if( 0 )
#endif
......
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