projects
/
wxWidgets.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
18dd537
)
Fixed #13833: wxRichTextCtrl: 'Copy' can grab an extra character
author
Julian Smart
<julian@anthemion.co.uk>
Thu, 5 Jan 2012 14:08:52 +0000
(14:08 +0000)
committer
Julian Smart
<julian@anthemion.co.uk>
Thu, 5 Jan 2012 14:08:52 +0000
(14:08 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70273
c3d73ce0
-8a6f-49c7-b76d-
6d57e0e08775
src/richtext/richtextbuffer.cpp
patch
|
blob
|
blame
|
history
diff --git
a/src/richtext/richtextbuffer.cpp
b/src/richtext/richtextbuffer.cpp
index d0d2fecb9722755e5e97054d7331e71d51218bc4..924a08c226fbdf1f07824c5036f77fe8b0f68ca4 100644
(file)
--- a/
src/richtext/richtextbuffer.cpp
+++ b/
src/richtext/richtextbuffer.cpp
@@
-2690,7
+2690,7
@@
bool wxRichTextParagraphLayoutBox::CopyFragment(const wxRichTextRange& range, wx
topTailRange.SetEnd(fragment.GetOwnRange().GetEnd());
}
- if (topTailRange.GetStart() <
(lastPara->GetRange().GetEnd()-1
))
+ if (topTailRange.GetStart() <
lastPara->GetRange().GetEnd(
))
{
lastPara->DeleteRange(topTailRange);