From b9b9eb7fb236f4ea92262da65ff9d17f2c5e6eab Mon Sep 17 00:00:00 2001 From: luxsie <877033040@qq.com> Date: Fri, 15 Aug 2014 00:04:32 +0800 Subject: [PATCH] Typo fix for checking input against what program get. --- rpcs3/Gui/AutoPauseManager.cpp | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/rpcs3/Gui/AutoPauseManager.cpp b/rpcs3/Gui/AutoPauseManager.cpp index 9faebb5cc3..bccf730b76 100644 --- a/rpcs3/Gui/AutoPauseManager.cpp +++ b/rpcs3/Gui/AutoPauseManager.cpp @@ -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(); } \ No newline at end of file