diff --git a/SporeModManager/SporeModManagerHelpers/SporeModXml.cpp b/SporeModManager/SporeModManagerHelpers/SporeModXml.cpp index 1c57d42..00b8381 100644 --- a/SporeModManager/SporeModManagerHelpers/SporeModXml.cpp +++ b/SporeModManager/SporeModManagerHelpers/SporeModXml.cpp @@ -37,11 +37,15 @@ static SporeMod::InstallLocation ParseInstallLocation(std::string text) { SporeMod::InstallLocation installLocation; - if (text == "GalacticAdventures" || text == "GalacticAdventuresData") + // lowercase text to make the + // value case insensitive + text = String::Lowercase(text); + + if (text == "galacticadventures" || text == "galacticadventuresdata") { installLocation = SporeMod::InstallLocation::GalacticAdventuresData; } - else if (text == "CoreSpore" || text == "CoreSporeData") + else if (text == "spore" || text == "coresporedata") { installLocation = SporeMod::InstallLocation::CoreSporeData; }