mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-15 05:47:56 -07:00
FifoPlayerDlg: Don't use wxString::fromAscii()
This commit is contained in:
parent
ad1a4d7ce3
commit
04c2f2382f
@ -744,10 +744,10 @@ void FifoPlayerDlg::OnObjectCmdListSelectionChanged(wxCommandEvent& event)
|
||||
char name[64]="\0", desc[512]="\0";
|
||||
GetBPRegInfo(cmddata+1, name, sizeof(name), desc, sizeof(desc));
|
||||
newLabel = _("BP register ");
|
||||
newLabel += (name[0] != '\0') ? wxString::From8BitData(name) : wxString::Format(_("UNKNOWN_%02X"), *(cmddata+1));
|
||||
newLabel += (name[0] != '\0') ? wxString(name, *wxConvCurrent) : wxString::Format(_("UNKNOWN_%02X"), *(cmddata+1));
|
||||
newLabel += wxT(":\n");
|
||||
if (desc[0] != '\0')
|
||||
newLabel += wxString::From8BitData(desc);
|
||||
newLabel += wxString(desc, *wxConvCurrent);
|
||||
else
|
||||
newLabel += _("No description available");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user