Vitaliy Margolen : dinput: Fix typo.

Alexandre Julliard julliard at winehq.org
Mon Oct 1 07:54:59 CDT 2007


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

Author: Vitaliy Margolen <wine-patches at kievinfo.com>
Date:   Sat Sep 29 10:23:11 2007 -0600

dinput: Fix typo.

---

 dlls/dinput/device.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/dinput/device.c b/dlls/dinput/device.c
index 170d8fd..68f61ec 100644
--- a/dlls/dinput/device.c
+++ b/dlls/dinput/device.c
@@ -244,7 +244,7 @@ BOOL get_app_key(HKEY *defkey, HKEY *appkey)
             if ((p = strrchr(appname, '\\'))) appname = p + 1;
             strcat(appname, "\\DirectInput");
 
-            if (RegOpenKeyA(tmpkey, appname, appkey)) appkey = 0;
+            if (RegOpenKeyA(tmpkey, appname, appkey)) *appkey = 0;
             RegCloseKey(tmpkey);
         }
     }




More information about the wine-cvs mailing list