Skip to content

Commit

Permalink
Fix potential crash from checkpoint_m usage
Browse files Browse the repository at this point in the history
  • Loading branch information
poco0317 authored Sep 14, 2018
1 parent fe3f644 commit 2c74750
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SongManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -689,7 +689,7 @@ void SongManager::LoadStepManiaSongDir( RString sDir, LoadingWindow *ld )
for (size_t j = 0; j < arraySongDirs.size(); ++j) {
RString sSongDirName = arraySongDirs[j];
RString hur = sSongDirName + "/";
CHECKPOINT_M(("Thread"+to_string((int)(size_t)&workload)+" Starting song "+ sSongDirName).c_str());
//CHECKPOINT_M(("Thread"+to_string((int)(size_t)&workload)+" Starting song "+ sSongDirName).c_str());
hur.MakeLower();
if (SONGMAN->m_SongsByDir.count(hur))
continue;
Expand Down

0 comments on commit 2c74750

Please sign in to comment.