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:
eb037d2
)
Fix a bug introduced in rev.7127 (Fix Testing\EditorTest build problem)
author
sdottaka
<none@none>
Tue, 29 Jun 2010 15:29:56 +0000
(
00:29
+0900)
committer
sdottaka
<none@none>
Tue, 29 Jun 2010 15:29:56 +0000
(
00:29
+0900)
Src/editlib/ccrystaltextbuffer.cpp
patch
|
blob
|
history
diff --git
a/Src/editlib/ccrystaltextbuffer.cpp
b/Src/editlib/ccrystaltextbuffer.cpp
index
774a8a7
..
69ab2a6
100644
(file)
--- a/
Src/editlib/ccrystaltextbuffer.cpp
+++ b/
Src/editlib/ccrystaltextbuffer.cpp
@@
-915,7
+915,7
@@
GetText (int nStartLine, int nStartChar, int nEndLine, int nEndChar,
memcpy (pszBuf, li.GetLine(), sizeof (TCHAR) * nCount);
pszBuf += nCount;
}
- pszCurCRLF = pszCRLF ? pszCRLF :
startLine
.GetEol();
+ pszCurCRLF = pszCRLF ? pszCRLF :
li
.GetEol();
nCRLFLength = lstrlen(pszCurCRLF);
memcpy (pszBuf, pszCurCRLF, sizeof (TCHAR) * nCRLFLength);
pszBuf += nCRLFLength;