mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-04-28 21:07:59 +03:00
Don't use tolower()
See https://forum.openmw.org/viewtopic.php?f=8&t=3231&p=35968
This commit is contained in:
parent
1a654fa451
commit
f875597be5
10 changed files with 71 additions and 22 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue