diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2012-06-07 09:55:03 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2012-06-07 09:55:03 +0000 |
commit | 1a70ac2c11fa2fb8f00e87a80d54f46dee1c85de (patch) | |
tree | d23310fa8c8958dfa148314f712f50ce52d4a944 /plugins/AssocMgr | |
parent | 086667c54faaca2e032b269aaeab929288fbecda (diff) |
AssocMgr working fix
git-svn-id: http://svn.miranda-ng.org/main/trunk@352 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/AssocMgr')
-rw-r--r-- | plugins/AssocMgr/reg.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/AssocMgr/reg.cpp b/plugins/AssocMgr/reg.cpp index 53cee0a90a..089d483c70 100644 --- a/plugins/AssocMgr/reg.cpp +++ b/plugins/AssocMgr/reg.cpp @@ -806,9 +806,9 @@ BOOL RemoveRegClass(const char *pszClassName) if(ptszPrevRunCmd!=NULL && !IsValidRunCommand(ptszPrevRunCmd))
res=DeleteRegSubTree(hRootKey,ptszClassName); /* backup outdated, remove all */
mir_free(ptszPrevRunCmd); /* does NULL check */
- RegCloseKey(hShellKey);
+ RegCloseKey(hVerbKey);
}
- RegCloseKey(hVerbKey);
+ RegCloseKey(hShellKey);
}
RegCloseKey(hClassKey);
}
|