|
From: Yoda-JM <yo...@us...> - 2010-10-15 23:21:57
|
Module: performous
Branch: master
Commit: 79b00f49b92cf507ec2b4c4482d40d3f1e61042b
Author: Vincent Le Ligeour <yo...@us...>
Date: Sat Oct 16 01:21:32 2010 +0200
Created path to songlist dumping
---
game/songs.cc | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/game/songs.cc b/game/songs.cc
index e8e76d4..038c24d 100644
--- a/game/songs.cc
+++ b/game/songs.cc
@@ -273,7 +273,7 @@ void Songs::dumpSongs_internal() const {
SongVector svec = m_songs;
std::sort(svec.begin(), svec.end(), comparator(&Song::collateByArtist));
fs::path coverpath = fs::path(m_songlist) / "covers";
- fs::create_directory(coverpath);
+ fs::create_directories(coverpath);
dumpXML(svec, m_songlist + "/songlist.xml");
}
|