[Scummvm-cvs-logs] scummvm-tools master -> 49d67b9a09bb35f61432f27d5fcf284b4249b1a6
clone2727
clone2727 at gmail.com
Tue Feb 4 05:16:15 CET 2014
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm-tools' repo located at https://github.com/scummvm/scummvm-tools .
Summary:
49d67b9a09 TOOLS: Fix compilation on Windows
Commit: 49d67b9a09bb35f61432f27d5fcf284b4249b1a6
https://github.com/scummvm/scummvm-tools/commit/49d67b9a09bb35f61432f27d5fcf284b4249b1a6
Author: Matthew Hoops (clone2727 at gmail.com)
Date: 2014-02-03T20:14:14-08:00
Commit Message:
TOOLS: Fix compilation on Windows
Changed paths:
engines/sword1/compress_sword1.cpp
diff --git a/engines/sword1/compress_sword1.cpp b/engines/sword1/compress_sword1.cpp
index 6e2072a..b422c49 100644
--- a/engines/sword1/compress_sword1.cpp
+++ b/engines/sword1/compress_sword1.cpp
@@ -21,6 +21,7 @@
/* Compress Broken Sword I sound clusters into MP3/Ogg Vorbis */
+#include <algorithm>
#include <assert.h>
#include <stdlib.h>
#include <string.h>
@@ -754,7 +755,7 @@ void CompressSword1::execute() {
slash = path.rfind('\\');
if (slash != std::string::npos) {
std::string dirName = path.substr(slash + 1);
- std::transform(dirName.begin(), dirName.end(), dirName.begin(), std::tolower);
+ std::transform(dirName.begin(), dirName.end(), dirName.begin(), tolower);
if (dirName == "clusters" || dirName == "music" || dirName == "speech")
inpath.setFullPath(path.substr(0, slash + 1));
}
More information about the Scummvm-git-logs
mailing list