mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-21 03:54:57 +00:00
Fixed assertion when creating new perspective.
Wx was attempting to format a string with specifier %d (integer) with a size_t.
This commit is contained in:
parent
b81617fba1
commit
a02a86fde9
1 changed files with 1 additions and 2 deletions
|
@ -533,8 +533,7 @@ void CFrame::OnPerspectiveMenu(wxCommandEvent& event)
|
|||
wxTextEntryDialog dlg(this,
|
||||
_("Enter a name for the new perspective:"),
|
||||
_("Create new perspective"));
|
||||
wxString DefaultValue = wxString::Format(_("Perspective %d"),
|
||||
Perspectives.size() + 1);
|
||||
wxString DefaultValue = wxString::Format(_("Perspective %d"), (int)(Perspectives.size() + 1));
|
||||
dlg.SetValue(DefaultValue);
|
||||
|
||||
int Return = 0;
|
||||
|
|
Loading…
Add table
Reference in a new issue