mirror of
https://github.com/projectM-visualizer/projectm.git
synced 2026-02-07 08:55:42 +00:00
core: Fix crash on Windows
Thanks to Clementine devs for the patch! git-svn-id: https://projectm.svn.sourceforge.net/svnroot/projectm/trunk@1380 6778bc44-b910-0410-a7a0-be141de4315d
This commit is contained in:
@ -84,6 +84,8 @@ void PresetLoader::rescan()
|
||||
|
||||
while ( ( dir_entry = readdir ( _dir ) ) != NULL )
|
||||
{
|
||||
if (dir_entry->d_name == 0)
|
||||
continue;
|
||||
|
||||
std::ostringstream out;
|
||||
// Convert char * to friendly string
|
||||
|
||||
Reference in New Issue
Block a user