commitmonitor Code
Monitor your SVN repositories and notifies you on new commits
Brought to you by:
steveking
changed | /trunk/src/AppUtils.cpp |
changed | /trunk/src/MainDlg.cpp |
--- a/trunk/src/AppUtils.cpp +++ b/trunk/src/AppUtils.cpp @@ -1,6 +1,6 @@ // CommitMonitor - simple checker for new commits in svn repositories -// Copyright (C) 2007-2010, 2012-2013 - Stefan Kueng +// Copyright (C) 2007-2010, 2012-2014 - Stefan Kueng // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License @@ -481,9 +481,6 @@ HRSRC hRes; // handle/ptr. to res. info. char *lpResLock; // pointer to resource data DWORD dwSizeRes; - std::wstring strAppLocation; - - strAppLocation = CAppUtils::GetAppDirectory(); // find location of the resource and get handle to it hRes = FindResource(NULL, MAKEINTRESOURCE(nResourceId), strCustomResName.c_str());
--- a/trunk/src/MainDlg.cpp +++ b/trunk/src/MainDlg.cpp @@ -2312,9 +2312,6 @@ // find the diff name _stprintf_s(buf, _countof(buf), _T("%s_%ld.diff"), pRead->find(*(std::wstring*)itemex.lParam)->second.name.c_str(), pLogEntry->revision); - std::wstring diffFileName = CAppUtils::GetDataDir(); - diffFileName += _T("\\"); - diffFileName += std::wstring(buf); SendMessage(m_hwndToolbar, TB_ENABLEBUTTON, ID_MAIN_SHOWDIFFCHOOSE, MAKELONG(ListView_GetSelectedCount(m_hListControl)!=0, 0)); }