Fixed minor issues and typos

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6584 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
anders_k 2015-05-14 20:17:14 +00:00
parent aaa2aa2b56
commit c89cac5262
12 changed files with 21 additions and 21 deletions

View file

@ -41,11 +41,11 @@ int GetTLBVersion(tstring& filepath, DWORD& high, DWORD & low)
hr = LoadTypeLib(fullpath, &typeLib);
#else
// If built without UNICODE, we still need to convert this string to a Unicode string.
WCHAR *ole_filename = WinWStrDupFromTChar(fullpath);
WCHAR *ole_filename = (WCHAR*) WinWStrDupFromTChar(fullpath);
if (!ole_filename) return 0;
hr = LoadTypeLib(ole_filename, &typeLib);
free(ole_filename);
#endif
#endif //~ _UNICODE
if (SUCCEEDED(hr)) {
@ -72,7 +72,7 @@ int GetTLBVersion(tstring& filepath, DWORD& high, DWORD & low)
return 0;
#endif
#endif //~ _WIN32
}
NSIS_ENTRYPOINT_TMAIN