diff options
author | Oliver Schneider <oliver@assarbad.net> | 2017-11-24 00:18:15 +0300 |
---|---|---|
committer | Oliver Schneider <oliver@assarbad.net> | 2017-11-24 00:18:15 +0300 |
commit | 76ed1ebfcd5ddc6c40bce6e193c4d8d49a35a61c (patch) | |
tree | 8ee7da777703095a7cc8b97acbb46d599b5be7ae /windirstat/windirstat.cpp | |
parent | ea449d28c1582161a3007e8c168dd56b7ce867d3 (diff) |
Rearranged some build flags in premake4.lua
Fixed up produce_vsprojects.cmd to heed the command line arguments
Reverted to original RGB_GET_?VALUE macros to prevent an exception in debug builds
Removing more parts referring to the CHM help file
Removing WEAK_ASSERT
Using --full to produce the checked in solutions
Fixed constant length to account for terminating zero
Diffstat (limited to 'windirstat/windirstat.cpp')
-rw-r--r-- | windirstat/windirstat.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/windirstat/windirstat.cpp b/windirstat/windirstat.cpp index 29ad50c..d481c06 100644 --- a/windirstat/windirstat.cpp +++ b/windirstat/windirstat.cpp @@ -374,11 +374,6 @@ CString CDirstatApp::FindAuxiliaryFileByLangid(LPCTSTR prefix, LPCTSTR suffix, L return wds::strEmpty; } -CString CDirstatApp::ConstructHelpFileName() -{ - return FindHelpfilePathByLangid(CLanguageOptions::GetLanguage()); -} - bool CDirstatApp::IsCorrectResourceDll(LPCTSTR path) { HMODULE module = ::LoadLibraryEx(path, NULL, LOAD_LIBRARY_AS_DATAFILE); @@ -557,9 +552,6 @@ BOOL CDirstatApp::InitInstance() GetOptions()->LoadFromRegistry(); - free((void*)m_pszHelpFilePath); - m_pszHelpFilePath = _tcsdup(ConstructHelpFileName()); // ~CWinApp() will free this memory. - m_pDocTemplate = new CSingleDocTemplate( IDR_MAINFRAME, RUNTIME_CLASS(CDirstatDoc), |