From 22e198962fb08f2a3aaa0ea02682ac5c0e8e9b37 Mon Sep 17 00:00:00 2001 From: sum2012 Date: Sun, 25 May 2014 17:47:56 +0800 Subject: [PATCH] Fix translate --- UI/GameSettingsScreen.cpp | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/UI/GameSettingsScreen.cpp b/UI/GameSettingsScreen.cpp index adc062bd59..54a28a944e 100644 --- a/UI/GameSettingsScreen.cpp +++ b/UI/GameSettingsScreen.cpp @@ -343,13 +343,16 @@ void GameSettingsScreen::CreateViews() { systemSettings->Add(new Choice(s->T("Change proAdhocServer Address")))->OnClick.Handle(this, &GameSettingsScreen::OnChangeproAdhocServerAddress); systemSettings->Add(new Choice(s->T("Change Mac Address")))->OnClick.Handle(this, &GameSettingsScreen::OnChangeMacAddress); #else - std::string str1 = s->T("proAdhocServer Address: "); - std::string str2 = g_Config.proAdhocServer; + std::string str1 = s->T("proAdhocServer Address:"); + std::string str2 = " "; + std::string str3 = g_Config.proAdhocServer; str1.append(str2); + str1.append(str3); systemSettings->Add(new Choice(str1)); - str1 = s->T("Mac Address: "); - str2 = g_Config.localMacAddress; + str1 = s->T("Mac Address:"); + str3 = g_Config.localMacAddress; str1.append(str2); + str1.append(str3); systemSettings->Add(new Choice(str1)); #endif