1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-27 10:03:20 +00:00
freebsd-ports/editors/zoinks/files/patch-fw-TTextView.cpp
Martin Wilke 9fe1834c7a - Unbreak
- Fix build with gcc 4.2

PR:		117776
Submitted by:	pietro cerutti <gahr@gahr.ch>
Approved by:	portmgr (pav)
2007-11-05 10:04:15 +00:00

12 lines
446 B
C++

--- fw/TTextView.cpp.orig 2007-11-03 00:01:15.000000000 +0100
+++ fw/TTextView.cpp 2007-11-03 00:01:40.000000000 +0100
@@ -451,7 +451,7 @@
{
if (offset < fSelectionAnchor)
{
- selectionStart = selectionStart = fLayout->GetLineOffset(fLayout->OffsetToLine(offset));
+ selectionStart = fLayout->GetLineOffset(fLayout->OffsetToLine(offset));
selectionEnd = fSelectionAnchorEnd;
}
else if (offset > fSelectionAnchorEnd)