Gurmail Bassi : joy.cpl: Fixed incorrect variable reference.

Alexandre Julliard julliard at winehq.org
Mon Apr 22 14:29:17 CDT 2013


Module: wine
Branch: master
Commit: fbed1f7a804353455b545b6320699921affa75a6
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=fbed1f7a804353455b545b6320699921affa75a6

Author: Gurmail Bassi <Gurmail.Bassi at mottmac.com>
Date:   Sat Apr 20 10:23:42 2013 +0100

joy.cpl: Fixed incorrect variable reference.

---

 dlls/joy.cpl/main.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/joy.cpl/main.c b/dlls/joy.cpl/main.c
index 857cb69..8cb1824 100644
--- a/dlls/joy.cpl/main.c
+++ b/dlls/joy.cpl/main.c
@@ -414,7 +414,7 @@ static DWORD WINAPI input_thread(void *param)
         axes_pos[2][1] = state.lRz;
 
         /* Set pov values */
-        for (j = 0; i < sizeof(pov_val)/sizeof(pov_val[0]); j++)
+        for (j = 0; j < sizeof(pov_val)/sizeof(pov_val[0]); j++)
         {
             if (state.rgdwPOV[0] == pov_val[j])
             {




More information about the wine-cvs mailing list