OSDN Git Service
(root)
/
winmerge-jp
/
winmerge-jp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6574243
)
bug fix scroll to first diff.
author
Dennis Lim
<dlkj@users.sourceforge.net>
Thu, 28 Jun 2001 13:30:47 +0000
(13:30 +0000)
committer
Dennis Lim
<dlkj@users.sourceforge.net>
Thu, 28 Jun 2001 13:30:47 +0000
(13:30 +0000)
Src/MainFrm.cpp
patch
|
blob
|
history
diff --git
a/Src/MainFrm.cpp
b/Src/MainFrm.cpp
index
7688522
..
2563bd8
100644
(file)
--- a/
Src/MainFrm.cpp
+++ b/
Src/MainFrm.cpp
@@
-257,6
+257,12
@@
void CMainFrame::ShowMergeDoc(LPCTSTR szLeft, LPCTSTR szRight)
else
MDINext();
+ // scroll to first diff
+ if(m_bScrollToFirst && m_pMergeDoc->m_diffs.GetSize()!=0)
+ {
+ m_pLeft->SelectDiff(0, TRUE, FALSE);
+ }
+
// set the document types
TCHAR name[MAX_PATH],ext[MAX_PATH];
split_filename(szLeft, NULL, name, ext);