summaryrefslogtreecommitdiff
path: root/indra/llui/lltextbase.cpp
diff options
context:
space:
mode:
authorRichard Nelson <none@none>2010-03-23 11:22:46 -0700
committerRichard Nelson <none@none>2010-03-23 11:22:46 -0700
commit07bc1f0ba52cfcd107f6cf12ab4e5372640b2143 (patch)
treeced403de8b3feda7cd778dca9647bb07e51c1644 /indra/llui/lltextbase.cpp
parent91b90b0a1749471a9016c4935b58c08a3dd66523 (diff)
fixed line ending style where I copied from araxis merge window
Diffstat (limited to 'indra/llui/lltextbase.cpp')
-rw-r--r--indra/llui/lltextbase.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llui/lltextbase.cpp b/indra/llui/lltextbase.cpp
index 13201719f4..f0b3a1a56c 100644
--- a/indra/llui/lltextbase.cpp
+++ b/indra/llui/lltextbase.cpp
@@ -1825,7 +1825,7 @@ S32 LLTextBase::getDocIndexFromLocalCoord( S32 local_x, S32 local_y, BOOL round,
pos = segment_line_start;
break;
}
- if (local_x < start_x + text_width // cursor to left of right edge of text
+ if (local_x < start_x + text_width // cursor to left of right edge of text
|| newline) // or this line ends with a newline, set doc pos to newline char
{
// Figure out which character we're nearest to.