skin-touchscreen: make %T(..., setting_set, ...) apply sound settings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30551 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
e995d01570
commit
454272cabf
1 changed files with 3 additions and 1 deletions
|
@ -219,7 +219,9 @@ int skin_get_touchaction(struct wps_data *data, int* edge_offset,
|
|||
case F_T_INT:
|
||||
case F_T_UINT:
|
||||
*(int*)s->setting = data->value.number;
|
||||
if (s->flags&F_CHOICE_SETTING)
|
||||
if ((s->flags & F_T_SOUND) == F_T_SOUND)
|
||||
sound_set(s->sound_setting->setting, data->value.number);
|
||||
else if (s->flags&F_CHOICE_SETTING)
|
||||
f = s->choice_setting->option_callback;
|
||||
else if (s->flags&F_TABLE_SETTING)
|
||||
f = s->table_setting->option_callback;
|
||||
|
|
Loading…
Reference in a new issue