wrong camelcase

This commit is contained in:
ufdada 2014-01-03 14:47:33 +01:00
parent f4c658881a
commit f9c1cefb12

View File

@ -77,7 +77,7 @@ void Config::Load(const char *iniFileName, const char *controllerIniFilename) {
if (!File::Exists(currentDirectory)) if (!File::Exists(currentDirectory))
currentDirectory = ""; currentDirectory = "";
int DefaultLang = PSP_SYSTEMPARAM_LANGUAGE_ENGLISH; int defaultLang = PSP_SYSTEMPARAM_LANGUAGE_ENGLISH;
std::string defaultLangRegion = "en_US"; std::string defaultLangRegion = "en_US";
if (bFirstRun) { if (bFirstRun) {
std::string langRegion = System_GetProperty(SYSPROP_LANGREGION); std::string langRegion = System_GetProperty(SYSPROP_LANGREGION);
@ -87,7 +87,7 @@ void Config::Load(const char *iniFileName, const char *controllerIniFilename) {
langValuesMapping = GetLangValuesMapping(); langValuesMapping = GetLangValuesMapping();
if (!defaultLangRegion.empty()) { if (!defaultLangRegion.empty()) {
if (langValuesMapping.find(defaultLangRegion) != langValuesMapping.end()) { if (langValuesMapping.find(defaultLangRegion) != langValuesMapping.end()) {
DefaultLang = langValuesMapping[defaultLangRegion].second; defaultLang = langValuesMapping[defaultLangRegion].second;
} }
} }
} }
@ -349,7 +349,7 @@ void Config::Load(const char *iniFileName, const char *controllerIniFilename) {
pspConfig->Get("NickName", &sNickName, "PPSSPP"); pspConfig->Get("NickName", &sNickName, "PPSSPP");
pspConfig->Get("proAdhocServer", &proAdhocServer, "localhost"); pspConfig->Get("proAdhocServer", &proAdhocServer, "localhost");
pspConfig->Get("MacAddress", &localMacAddress, "01:02:03:04:05:06"); pspConfig->Get("MacAddress", &localMacAddress, "01:02:03:04:05:06");
pspConfig->Get("Language", &iLanguage, DefaultLang); pspConfig->Get("Language", &iLanguage, defaultLang);
pspConfig->Get("TimeFormat", &iTimeFormat, PSP_SYSTEMPARAM_TIME_FORMAT_24HR); pspConfig->Get("TimeFormat", &iTimeFormat, PSP_SYSTEMPARAM_TIME_FORMAT_24HR);
pspConfig->Get("DateFormat", &iDateFormat, PSP_SYSTEMPARAM_DATE_FORMAT_YYYYMMDD); pspConfig->Get("DateFormat", &iDateFormat, PSP_SYSTEMPARAM_DATE_FORMAT_YYYYMMDD);
pspConfig->Get("TimeZone", &iTimeZone, 0); pspConfig->Get("TimeZone", &iTimeZone, 0);