|
From: Yoda-JM <yo...@us...> - 2010-04-14 06:55:09
|
Module: performous Branch: master Commit: 7e7275656424427603489aaf1ab3182c1fde1f17 Author: Vincent Le Ligeour <yo...@us...> Date: Wed Apr 14 08:54:45 2010 +0200 Fixed buggy copy/paste in ss extract tool --- tools/ss_extract.cpp | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/tools/ss_extract.cpp b/tools/ss_extract.cpp index ec9896a..81102d3 100644 --- a/tools/ss_extract.cpp +++ b/tools/ss_extract.cpp @@ -354,7 +354,7 @@ void saveTxtFile(xmlpp::NodeSet &sentence, const fs::path &path, const Song &son //txtfile << "#LANGUAGE:English" << std::endl; // Detect instead of hardcoding? if (!song.music.empty()) txtfile << "#MP3:" << filename(song.music) << std::endl; if (!song.vocals.empty()) txtfile << "#VOCALS:" << filename(song.vocals) << std::endl; - if (!song.vocals.empty()) txtfile << "#VIDEO:" << filename(song.video) << std::endl; + if (!song.video.empty()) txtfile << "#VIDEO:" << filename(song.video) << std::endl; if (!song.cover.empty()) txtfile << "#COVER:" << filename(song.cover) << std::endl; //txtfile << "#BACKGROUND:background.jpg" << std::endl; txtfile << "#BPM:" << song.tempo << std::endl; |