From 5305a036f2a30518666b639c797184aebccc4d3c Mon Sep 17 00:00:00 2001 From: Sven Strickroth Date: Sun, 9 Jan 2011 18:02:00 +0100 Subject: [PATCH] better fix for 9e39b918b0057be0e215fd59788f145b77a67ff5 Signed-off-by: Sven Strickroth --- src/TortoiseGitBlame/LogListBlameAction.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/TortoiseGitBlame/LogListBlameAction.cpp b/src/TortoiseGitBlame/LogListBlameAction.cpp index de1dc0f2e..96306918e 100644 --- a/src/TortoiseGitBlame/LogListBlameAction.cpp +++ b/src/TortoiseGitBlame/LogListBlameAction.cpp @@ -34,7 +34,7 @@ void CGitBlameLogList::ContextMenuAction(int cmd,int FirstSelect, int LastSelect bool bOpenWith = false; - procCmd+=_T("/path:\""); + procCmd+=_T(" /path:\""); procCmd+=((CMainFrame*)::AfxGetApp()->GetMainWnd())->GetActiveView()->GetDocument()->GetPathName(); procCmd+=_T("\" "); procCmd+=_T(" /rev:")+this->m_logEntries.GetGitRevAt(indexNext).m_CommitHash.ToString(); @@ -460,8 +460,6 @@ void CGitBlameLogList::ContextMenuAction(int cmd,int FirstSelect, int LastSelect memset(&process, 0, sizeof(process)); CString tortoiseProcPath = CPathUtils::GetAppDirectory() + _T("TortoiseProc.exe"); - procCmd = tortoiseProcPath + _T(" ") + procCmd; - if (CreateProcess(tortoiseProcPath, procCmd.GetBuffer(), NULL, NULL, FALSE, 0, 0, 0, &startup, &process)) { CloseHandle(process.hThread); -- 2.11.4.GIT