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:
0c4cf79
)
MergeDoc.cpp: Fix wrong if condition. sf.net#2202
author
Takashi Sawanaka
<sdottaka@users.sourceforge.net>
Sun, 18 Feb 2018 11:57:52 +0000
(20:57 +0900)
committer
Takashi Sawanaka
<sdottaka@users.sourceforge.net>
Sun, 18 Feb 2018 11:57:52 +0000
(20:57 +0900)
Src/MergeDoc.cpp
patch
|
blob
|
history
diff --git
a/Src/MergeDoc.cpp
b/Src/MergeDoc.cpp
index
83c291e
..
00fe421
100644
(file)
--- a/
Src/MergeDoc.cpp
+++ b/
Src/MergeDoc.cpp
@@
-1095,7
+1095,7
@@
bool CMergeDoc::ListCopy(int srcPane, int dstPane, int nDiff /* = -1*/,
int nActiveViewIndexType = GetActiveMergeViewIndexType();
if (nActiveViewIndexType >= MERGEVIEW_PANE0 && nActiveViewIndexType <= MERGEVIEW_PANE2)
ptCursor = m_pView[nActiveViewIndexType]->GetCursorPos();
- else if (nActiveViewIndexType >= MERGEVIEW_PANE0_DETAIL
||
+ else if (nActiveViewIndexType >= MERGEVIEW_PANE0_DETAIL
&&
nActiveViewIndexType <= MERGEVIEW_PANE2_DETAIL)
{
ptCursor = m_pView[nActiveViewIndexType - MERGEVIEW_PANE0_DETAIL]->GetCursorPos();