[vlc-commits] gestures: cosmetic

Rémi Denis-Courmont git at videolan.org
Mon Sep 1 17:54:47 CEST 2014


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Mon Sep  1 18:51:06 2014 +0300| [20729b41f7d0d177cfd794e86a0eb9e6232b18d8] | committer: Rémi Denis-Courmont

gestures: cosmetic

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=20729b41f7d0d177cfd794e86a0eb9e6232b18d8
---

 modules/control/gestures.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/control/gestures.c b/modules/control/gestures.c
index 3c72e8a..2b40fc4 100644
--- a/modules/control/gestures.c
+++ b/modules/control/gestures.c
@@ -382,8 +382,8 @@ static int MovedEvent( vlc_object_t *p_this, char const *psz_var,
         int i_vertical = newval.coords.y - p_sys->i_last_y;
         unsigned int pattern = 0;
 
-        i_horizontal = i_horizontal / p_sys->i_threshold;
-        i_vertical = i_vertical / p_sys->i_threshold;
+        i_horizontal /= p_sys->i_threshold;
+        i_vertical /= p_sys->i_threshold;
 
         if( i_horizontal < 0 )
         {



More information about the vlc-commits mailing list