-
Type:
Bug
-
Status: Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Fix Version/s: 0.4.3
-
Component/s: Applications
-
Labels:
-
Sprint:October 2016
1- I suggest to declare haccel as an HACCEL rather than HANDLE and avoid the later cast, there is no need to not do so.
2- There are handle leaks after reading the keys from the registry, so I added calls to RegCloseKey() where it is needed. I also suggest to use a function ReadFileHistory() and empty the file name if the key is not found or if an error occured.