From 75e6468b103e5cc9fe47712530874416e44fcbac Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Sun, 30 Apr 2000 04:03:04 +0000 Subject: [PATCH] Fix typo. --- pkg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg.c b/pkg.c index d8a6e2c0..51ce54d5 100644 --- a/pkg.c +++ b/pkg.c @@ -229,7 +229,7 @@ init_pkgs (int use_current_user) DWORD nc = 0; static pkg stuff[1000]; - res = RegCreateKeyEx (use_current_user ? HKEY_LOCAL_MACHINE : HKEY_CURRENT_USER, + res = RegCreateKeyEx (use_current_user ? HKEY_CURRENT_USER : HKEY_LOCAL_MACHINE, "SOFTWARE\\Cygnus Solutions\\Cygwin\\Installed Components", 0, empty, REG_OPTION_NON_VOLATILE, KEY_ALL_ACCESS, NULL, &hkpkg, &what); -- 2.43.5