dinput: Fix typo.
This commit is contained in:
parent
47c91d4d18
commit
355b39cd71
|
@ -244,7 +244,7 @@ BOOL get_app_key(HKEY *defkey, HKEY *appkey)
|
||||||
if ((p = strrchr(appname, '\\'))) appname = p + 1;
|
if ((p = strrchr(appname, '\\'))) appname = p + 1;
|
||||||
strcat(appname, "\\DirectInput");
|
strcat(appname, "\\DirectInput");
|
||||||
|
|
||||||
if (RegOpenKeyA(tmpkey, appname, appkey)) appkey = 0;
|
if (RegOpenKeyA(tmpkey, appname, appkey)) *appkey = 0;
|
||||||
RegCloseKey(tmpkey);
|
RegCloseKey(tmpkey);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue