Commit 355b39cd authored by Vitaliy Margolen's avatar Vitaliy Margolen Committed by Alexandre Julliard

dinput: Fix typo.

parent 47c91d4d
......@@ -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);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment