Don't use tolower()

See https://forum.openmw.org/viewtopic.php?f=8&t=3231&p=35968
This commit is contained in:
scrawl 2015-12-07 21:58:30 +01:00
parent 1a654fa451
commit f875597be5
10 changed files with 71 additions and 22 deletions

View file

@ -8,6 +8,8 @@
#include <unistd.h>
#include <boost/filesystem/fstream.hpp>
#include <components/misc/stringops.hpp>
namespace
{
@ -139,7 +141,7 @@ boost::filesystem::path LinuxPath::getInstallPath() const
{
// Change drive letter to lowercase, so we could use
// ~/.wine/dosdevices symlinks
mwpath[0] = tolower(mwpath[0]);
mwpath[0] = Misc::StringUtils::toLower(mwpath[0]);
installPath /= homePath;
installPath /= ".wine/dosdevices/";
installPath /= mwpath;