summaryrefslogtreecommitdiff
path: root/apps/gui/skin_engine/skin_touchsupport.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/gui/skin_engine/skin_touchsupport.c')
-rw-r--r--apps/gui/skin_engine/skin_touchsupport.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/gui/skin_engine/skin_touchsupport.c b/apps/gui/skin_engine/skin_touchsupport.c
index 77ab30d675..27b82e6608 100644
--- a/apps/gui/skin_engine/skin_touchsupport.c
+++ b/apps/gui/skin_engine/skin_touchsupport.c
@@ -313,9 +313,9 @@ int skin_get_touchaction(struct gui_wps *gwps, int* edge_offset)
313 if (bar && edge_offset) 313 if (bar && edge_offset)
314 { 314 {
315 int val, count; 315 int val, count;
316 get_setting_info_for_bar(bar->setting_id, &count, &val); 316 get_setting_info_for_bar(bar->setting, &count, &val);
317 val = *edge_offset * count / 1000; 317 val = *edge_offset * count / 1000;
318 update_setting_value_from_touch(bar->setting_id, val); 318 update_setting_value_from_touch(bar->setting, val);
319 } 319 }
320 } 320 }
321 break; 321 break;