mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-30 04:38:49 +00:00
More multi-byte display fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4750 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
03c45646b4
commit
50139a394b
5 changed files with 15 additions and 15 deletions
|
@ -147,7 +147,7 @@ void wxCheatsWindow::Load_ARCodes()
|
|||
{
|
||||
ARCode code = GetARCode(i);
|
||||
ARCodeIndex ind;
|
||||
u32 index = m_CheckListBox_CheatsList->Append(wxString::FromAscii(code.name.c_str()));
|
||||
u32 index = m_CheckListBox_CheatsList->Append(wxString(code.name.c_str(), *wxConvCurrent));
|
||||
m_CheckListBox_CheatsList->Check(index, code.active);
|
||||
ind.index = i;
|
||||
ind.uiIndex = index;
|
||||
|
@ -162,7 +162,7 @@ void wxCheatsWindow::OnEvent_CheatsList_ItemSelected(wxCommandEvent& WXUNUSED (e
|
|||
if ((int)indexList[i].uiIndex == index)
|
||||
{
|
||||
ARCode code = GetARCode(i);
|
||||
m_Label_Codename->SetLabel(wxT("Name: ") + wxString::FromAscii(code.name.c_str()));
|
||||
m_Label_Codename->SetLabel(wxT("Name: ") + wxString(code.name.c_str(), *wxConvCurrent));
|
||||
char text[CHAR_MAX];
|
||||
char* numcodes = text;
|
||||
sprintf(numcodes, "Number of Codes: %lu", (unsigned long)code.ops.size());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue