Core: Append single character to stream as character, not as a string
This commit is contained in:
@@ -1103,7 +1103,7 @@ void World::LoadConfigSettings(bool reload)
|
||||
///- Read the "Data" directory from the config file
|
||||
std::string dataPath = sConfig->GetStringDefault("DataDir", "./");
|
||||
if (dataPath.at(dataPath.length()-1) != '/' && dataPath.at(dataPath.length()-1) != '\\')
|
||||
dataPath.append("/");
|
||||
dataPath.push_back('/');
|
||||
|
||||
if (reload)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user