mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-01 14:58:14 +00:00
Just remove useless space and fix translations
Oops
This commit is contained in:
1 parent
7a2b4eea0a
commit
80938a39ce
2 files changed
+5
-5
No files matched your search
@@ -473,7 +473,7 @@ void GameSettingsScreen::CreateViews() {
|
||||
#ifdef _WIN32
|
||||
networkingSettings->Add(new PopupTextInputChoice(&g_Config.proAdhocServer, n->T("Change proAdhocServer Address"), "", 255, screenManager()));
|
||||
#elif defined(ANDROID)
|
||||
networkingSettings->Add(new ChoiceWithValueDisplay(&g_Config.proAdhocServer, sy->T("Change proAdhocServer Address"), nullptr))->OnClick.Handle(this, &GameSettingsScreen::OnChangeproAdhocServerAddress);
|
||||
networkingSettings->Add(new ChoiceWithValueDisplay(&g_Config.proAdhocServer, n->T("Change proAdhocServer Address"), nullptr))->OnClick.Handle(this, &GameSettingsScreen::OnChangeproAdhocServerAddress);
|
||||
#else
|
||||
networkingSettings->Add(new ChoiceWithValueDisplay(&g_Config.proAdhocServer, n->T("Change proAdhocServer Address"), nullptr))->OnClick.Handle(this, &GameSettingsScreen::OnChangeproAdhocServerAddress);
|
||||
#endif
|
||||
@@ -917,7 +917,7 @@ UI::EventReturn GameSettingsScreen::OnChangeNickname(UI::EventParams &e) {
|
||||
g_Config.sNickName = name;
|
||||
}
|
||||
#elif defined(ANDROID)
|
||||
System_SendMessage("inputbox", ("nickname :" + g_Config.sNickName).c_str());
|
||||
System_SendMessage("inputbox", ("nickname:" + g_Config.sNickName).c_str());
|
||||
#endif
|
||||
return UI::EVENT_DONE;
|
||||
}
|
||||
@@ -937,7 +937,7 @@ UI::EventReturn GameSettingsScreen::OnChangeproAdhocServerAddress(UI::EventParam
|
||||
else
|
||||
screenManager()->push(new ProAdhocServerScreen);
|
||||
#elif defined(ANDROID)
|
||||
System_SendMessage("inputbox", ("IP :" + g_Config.proAdhocServer).c_str());
|
||||
System_SendMessage("inputbox", ("IP:" + g_Config.proAdhocServer).c_str());
|
||||
#else
|
||||
screenManager()->push(new ProAdhocServerScreen);
|
||||
#endif
|
||||
|
||||
+2
-2
@@ -739,9 +739,9 @@ void HandleGlobalMessage(const std::string &msg, const std::string &value) {
|
||||
}
|
||||
if (msg == "inputbox_completed") {
|
||||
SplitString(value, ':', inputboxValue);
|
||||
if (inputboxValue[0] == "IP ")
|
||||
if (inputboxValue[0] == "IP")
|
||||
g_Config.proAdhocServer = inputboxValue[1];
|
||||
if (inputboxValue[0] == "nickname ")
|
||||
if (inputboxValue[0] == "nickname")
|
||||
g_Config.sNickName = inputboxValue[1];
|
||||
inputboxValue.clear();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user