Rockbox.org home
releases
current build
extras FAQ
manual
wiki
docs index mailing lists
IRC
forums bugs
patches



Rockbox mail archive

Subject: Re: Yes/No Prompt Quirk
From: Magnus Holmgren (lear_at_algonet.se)
Date: 2002-09-13


Mike Soultanian wrote:
 
> On my recorder, when you hit UP it selects NO and DOWN selects YES.
> This is slightly counter-intuitive...

Yep. It's similar on the player. The fix is easy though. In
settings.c:set_bool_options(), change:

    char* names[] = { yes_str, no_str };
    int value = !*variable;
    set_option(string, &value, names, 2, NULL);
    *variable = !value;

to

    char* names[] = { no_str, yes_str };
    int value = *variable;
    set_option(string, &value, names, 2, NULL);
    *variable = value;

which is more logical, IMO.

-- 
Magnus Holmgren



Page was last modified "Mar 9 2008" The Rockbox Crew