summaryrefslogtreecommitdiff
path: root/apps/gui/wps.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/gui/wps.c')
-rw-r--r--apps/gui/wps.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/gui/wps.c b/apps/gui/wps.c
index 108cb19398..fb703062cd 100644
--- a/apps/gui/wps.c
+++ b/apps/gui/wps.c
@@ -703,7 +703,7 @@ int wps_get_touchaction(struct wps_data *data)
703 (max_vol - min_vol)) / r->width; 703 (max_vol - min_vol)) / r->width;
704 else 704 else
705 /* portrait */ 705 /* portrait */
706 global_settings.volume = (vy * 706 global_settings.volume = ((r->height - vy) *
707 (max_vol-min_vol)) / r->height; 707 (max_vol-min_vol)) / r->height;
708 708
709 global_settings.volume += min_vol; 709 global_settings.volume += min_vol;