OSDN Git Service
(root)
/
tortoisegit
/
TortoiseGitJp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
840ab71
)
Fix 'Explore To' in context menu in Commit Dialog
author
Colin Law
<colin@clanlaw.org.uk>
Mon, 2 Feb 2009 17:01:23 +0000
(17:01 +0000)
committer
Frank Li
<lznuaa@gmail.com>
Tue, 3 Feb 2009 09:43:10 +0000
(17:43 +0800)
Pass directory containing file to ShellExecute rather than filename
src/Git/GitStatusListCtrl.cpp
patch
|
blob
|
history
diff --git
a/src/Git/GitStatusListCtrl.cpp
b/src/Git/GitStatusListCtrl.cpp
index
4357bb3
..
7d4c8d6
100644
(file)
--- a/
src/Git/GitStatusListCtrl.cpp
+++ b/
src/Git/GitStatusListCtrl.cpp
@@
-2673,7
+2673,7
@@
void CGitStatusListCtrl::OnContextMenuList(CWnd * pWnd, CPoint point)
break;
\r
case IDSVNLC_EXPLORE:
\r
{
\r
- ShellExecute(this->m_hWnd, _T("explore"), filepath->GetWinPath(), NULL, NULL, SW_SHOW);
\r
+ ShellExecute(this->m_hWnd, _T("explore"), filepath->Get
Directory().Get
WinPath(), NULL, NULL, SW_SHOW);
\r
}
\r
break;
\r
case IDSVNLC_COMPARE:
\r