mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-24 06:39:46 -06:00
fix wxw multibyte text issues in netplay. changes by bhaal.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4725 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -167,8 +167,8 @@ void *ServerSide::Entry()
|
||||
m_numplayers--;
|
||||
|
||||
std::string player_left = m_client[socket_nb].nick;
|
||||
Event->AppendText( wxString::Format(wxT("*Player : %s left the game.\n\n"),
|
||||
player_left.c_str()) );
|
||||
Event->AppendText( wxString::FromAscii(StringFromFormat("*Player : %s left the game.\n\n",
|
||||
player_left.c_str()).c_str()) );
|
||||
|
||||
// We need to adjust the struct...
|
||||
for (int j = socket_nb; j < m_numplayers; j++)
|
||||
@ -412,8 +412,8 @@ void *ClientSide::Entry()
|
||||
if (value == 0x16) // UDP connection successful
|
||||
{
|
||||
Event->AppendText(_("Connection successful !\n"));
|
||||
Event->AppendText( wxString::Format( wxT("*Connection established to %s (%s)\n*Game is : %s\n "),
|
||||
m_hostnick.c_str(), m_addr.c_str(), m_selectedgame.c_str()));
|
||||
Event->AppendText( wxString::FromAscii( StringFromFormat("*Connection established to %s (%s)\n*Game is : %s\n",
|
||||
m_hostnick.c_str(), m_addr.c_str(), m_selectedgame.c_str()).c_str()));
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Reference in New Issue
Block a user