Merge pull request #755 from Syphurith/patch-AutoPause

Typo fix for Auto-Pause GUI.
This commit is contained in:
B1ackDaemon 2014-08-14 19:54:52 +03:00
commit 4d88cfed95
1 changed files with 5 additions and 7 deletions

View File

@ -287,16 +287,14 @@ void AutoPauseSettingsDialog::OnUpdateValue(wxCommandEvent& event)
m_entry_convert.clear(); m_entry_convert.clear();
m_entry_convert.str(""); m_entry_convert.str("");
m_entry_convert << "Currently it gets an id of \"" m_entry_convert << std::hex << /*std::setw(8) << std::setfill('0') <<*/ m_entry;
<< std::hex << std::setw(8) << std::setfill('0') << m_entry;
m_entry_convert.clear(); m_entry_convert.clear();
m_entry_convert << "\".";
if (m_entry_convert.str() == m_id->GetValue()) if (m_entry_convert.str() == m_id->GetValue())
{ {
m_entry_convert << " SAME."; m_current_converted->SetLabelText("Currently it gets an id of \"" + m_entry_convert.str() + "\" - SAME.");
}
else {
m_current_converted->SetLabelText("Currently it gets an id of \"" + m_entry_convert.str() + "\".");
} }
m_current_converted->SetLabelText(m_entry_convert.str());
event.Skip(); event.Skip();
} }