Created
February 11, 2012 15:46
-
-
Save pvdk/1801134 to your computer and use it in GitHub Desktop.
Quick fix for soundmanager.cpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void SoundManager::MP3Lookup(boost::filesystem::path dir) | |
{ | |
if (!boost::filesystem::exists(dir)) | |
{ | |
std::string lowercase = dir.string(); | |
boost::to_lower(lowercase); | |
dir = boost::filesystem::path(lowercase); | |
std::cout << boost::generic_string(lowercase); | |
} | |
boost::filesystem::directory_iterator dir_iter(dir), dir_end; | |
[...] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment