[vlc-commits] vlc_mouse: Fix typo

Rémi Duraffort git at videolan.org
Fri Nov 11 16:03:43 CET 2011


vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Fri Nov 11 15:43:24 2011 +0100| [8eb5947dec59cfae792f8c73d80b97489fed6692] | committer: Rémi Duraffort

vlc_mouse: Fix typo

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

 include/vlc_mouse.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/include/vlc_mouse.h b/include/vlc_mouse.h
index e671a74..a7f0904 100644
--- a/include/vlc_mouse.h
+++ b/include/vlc_mouse.h
@@ -117,7 +117,7 @@ static inline void vlc_mouse_GetMotion( int *pi_x, int *pi_y,
 static inline bool vlc_mouse_HasChanged( const vlc_mouse_t *p_old,
                                          const vlc_mouse_t *p_new )
 {
-    return p_old->i_x != p_new->i_x || p_old->i_x != p_new->i_x ||
+    return p_old->i_x != p_new->i_x || p_old->i_y != p_new->i_y ||
            p_old->i_pressed != p_new->i_pressed;
 }
 static inline bool vlc_mouse_HasMoved( const vlc_mouse_t *p_old,



More information about the vlc-commits mailing list