Commit 942ae39c authored by Olivier Teulière's avatar Olivier Teulière

* skins2: same fix as in modules/access/directory.c

parent 4f249bf6
......@@ -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
......
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