From a98b537f2adca04ffa0aa65a950201892a18428c Mon Sep 17 00:00:00 2001 From: Sven Strickroth Date: Sun, 5 Aug 2012 19:27:13 +0200 Subject: [PATCH] Fixed issue #1311: Open With is broken Signed-off-by: Sven Strickroth --- src/Changelog.txt | 1 + src/Git/GitStatusListCtrl.cpp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Changelog.txt b/src/Changelog.txt index 67924d9af..f89971345 100644 --- a/src/Changelog.txt +++ b/src/Changelog.txt @@ -36,6 +36,7 @@ Released: unreleased * Fixed issue #620: Unmodified files appear in the Modified File list while committing * Fixed issue #774: Revert does not work for submodules * Fixed issue #1303: Past Recent Message command in commit dialog doesn't work + * Fixed issue #1311: Open With is broken = Release 1.7.11.3 = Released: 2012-07-07 diff --git a/src/Git/GitStatusListCtrl.cpp b/src/Git/GitStatusListCtrl.cpp index 57ade1378..f495af91b 100644 --- a/src/Git/GitStatusListCtrl.cpp +++ b/src/Git/GitStatusListCtrl.cpp @@ -4168,7 +4168,7 @@ void CGitStatusListCtrl::OpenFile(CTGitPath*filepath,int mode) CString file; if(this->m_CurrentVersion.IsEmpty() || m_CurrentVersion == GIT_REV_ZERO) { - file= filepath->GetWinPath(); + file = g_Git.m_CurrentDir + _T("\\") + filepath->GetWinPath(); } else { -- 2.11.4.GIT