From 1a560969700a9495cb70fbb6f70c3471784fc361 Mon Sep 17 00:00:00 2001 From: Sven Strickroth Date: Sat, 24 Nov 2012 01:59:56 +0100 Subject: [PATCH] Use correct function Signed-off-by: Sven Strickroth --- src/TortoiseProc/GitLogListAction.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/TortoiseProc/GitLogListAction.cpp b/src/TortoiseProc/GitLogListAction.cpp index da6f16d5f..5e795cd74 100644 --- a/src/TortoiseProc/GitLogListAction.cpp +++ b/src/TortoiseProc/GitLogListAction.cpp @@ -156,10 +156,8 @@ int CGitLogList::CherryPickFrom(CString from, CString to) { if (progress.IsVisible()) { - CString temp; - temp.Format(IDS_PROC_PICK, logs.GetGitRevAt(i).m_CommitHash.ToString()); - progress.FormatPathLine(1, temp); - progress.FormatPathLine(2, _T("%s"), logs.GetGitRevAt(i).GetSubject()); + progress.FormatNonPathLine(1, IDS_PROC_PICK, logs.GetGitRevAt(i).m_CommitHash.ToString()); + progress.FormatNonPathLine(2, _T("%s"), logs.GetGitRevAt(i).GetSubject()); progress.SetProgress(logs.size()-i, logs.size()); } if (progress.HasUserCancelled()) -- 2.11.4.GIT