diff options
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), |