Origin commit data
------------------
Commit: 1372a1aff9
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2016-12-26 (Mon, 26 Dec 2016)
This commit is contained in:
Jacek Jendrzej
2016-12-26 18:20:35 +01:00
parent 02f848ab9a
commit d14f65c091
2 changed files with 2 additions and 2 deletions

View File

@@ -494,7 +494,7 @@ int CStringInput::exec( CMenuTarget* parent, const std::string & )
}
else if ( (msg==CRCInput::RC_home) || (msg==CRCInput::RC_timeout) )
{
if ((trim (*valueString) != oldval) &&
if ((trim (*valueString) != trim(oldval)) &&
(ShowMsg(title, LOCALE_MESSAGEBOX_DISCARD, CMsgBox::mbrYes, CMsgBox::mbYes | CMsgBox::mbCancel) == CMsgBox::mbrCancel)) {
timeoutEnd = CRCInput::calcTimeoutEnd(g_settings.timing[SNeutrinoSettings::TIMING_MENU] == 0 ? 0xFFFF : g_settings.timing[SNeutrinoSettings::TIMING_MENU]);
continue;