dinput: Fix typo.

This commit is contained in:
Vitaliy Margolen 2007-09-29 10:23:11 -06:00 committed by Alexandre Julliard
parent 47c91d4d18
commit 355b39cd71
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}
}