]> git.sesse.net Git - vlc/commitdiff
* skins2: same fix as in modules/access/directory.c
authorOlivier Teulière <ipkiss@videolan.org>
Mon, 31 May 2004 12:17:13 +0000 (12:17 +0000)
committerOlivier Teulière <ipkiss@videolan.org>
Mon, 31 May 2004 12:17:13 +0000 (12:17 +0000)
modules/gui/skins2/src/theme_loader.cpp

index 7a4c4ca29ebfe8a41925fea0a37bfa4fbd3cec23..116bc8d37205a621b96fd05f3095fad3bb20d617 100755 (executable)
@@ -233,7 +233,7 @@ bool ThemeLoader::findThemeFile( const string &rootDir, string &themeFilePath )
             stat( newURI.c_str(), &stat_data );
             if( S_ISDIR(stat_data.st_mode) )
 #elif defined( DT_DIR )
-            if( pDirContent->d_type == DT_DIR )
+            if( pDirContent->d_type & DT_DIR )
 #else
             if( 0 )
 #endif