stop non-live settings from beign accepted even if cancel was chosen

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14616 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Jonathan Gordon 2007-09-05 03:06:49 +00:00
parent 19d141a3eb
commit 24006ffeac

View file

@ -433,7 +433,7 @@ bool option_screen(struct settings_list *setting,
function(*variable);
}
if (oldvalue != *variable)
if (oldvalue != *variable && (action != ACTION_STD_CANCEL))
{
if (use_temp_var)
{