mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 00:59:44 -06:00
The change to StringFromFormat was overwriting the last character with the NULL terminating character.
Also update a deprecated function call. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6374 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -452,7 +452,7 @@ void ControlDialog::DetectControl(wxCommandEvent& event)
|
||||
btn->SetLabel(wxT("[ waiting ]"));
|
||||
|
||||
// apparently, this makes the "waiting" text work on Linux
|
||||
wxYield();
|
||||
wxTheApp->Yield();
|
||||
|
||||
m_plugin.controls_crit.Enter(); // enter
|
||||
ControllerInterface::Device::Control* const ctrl = control_reference->Detect(DETECT_WAIT_TIME, dev);
|
||||
@ -477,7 +477,7 @@ void GamepadPage::DetectControl( wxCommandEvent& event )
|
||||
btn->SetLabel(wxT("[ waiting ]"));
|
||||
|
||||
// apparently, this makes the "waiting" text work on Linux
|
||||
wxYield();
|
||||
wxTheApp->Yield();
|
||||
|
||||
m_plugin.controls_crit.Enter(); // enter
|
||||
ControllerInterface::Device::Control* const ctrl = btn->control_reference->Detect(DETECT_WAIT_TIME, dev);
|
||||
|
Reference in New Issue
Block a user