Typo fix for checking input against what program get.

This commit is contained in:
luxsie 2014-08-15 00:04:32 +08:00
parent 069aa9fb2a
commit b9b9eb7fb2

View File

@ -287,16 +287,14 @@ void AutoPauseSettingsDialog::OnUpdateValue(wxCommandEvent& event)
m_entry_convert.clear();
m_entry_convert.str("");
m_entry_convert << "Currently it gets an id of \""
<< std::hex << std::setw(8) << std::setfill('0') << m_entry;
m_entry_convert << std::hex << /*std::setw(8) << std::setfill('0') <<*/ m_entry;
m_entry_convert.clear();
m_entry_convert << "\".";
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();
}