summaryrefslogtreecommitdiff
path: root/indra/llui
diff options
context:
space:
mode:
authorRichard Linden <none@none>2010-04-01 14:08:49 -0700
committerRichard Linden <none@none>2010-04-01 14:08:49 -0700
commit2be2fdca5c334b787b8019d7226a48e1d5eaec91 (patch)
tree9a458cb03c8f9d2e43e627be9edfa99bc8b4f9b6 /indra/llui
parent09add95e314652bdb55200ad62a75c42326d69b4 (diff)
EXT-3606 - Script editor window: next line not indenting if current line wraps
Diffstat (limited to 'indra/llui')
-rw-r--r--indra/llui/lltexteditor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llui/lltexteditor.cpp b/indra/llui/lltexteditor.cpp
index 7d230f7d42..94c7ebec2a 100644
--- a/indra/llui/lltexteditor.cpp
+++ b/indra/llui/lltexteditor.cpp
@@ -2334,7 +2334,7 @@ void LLTextEditor::getCurrentLineAndColumn( S32* line, S32* col, BOOL include_wo
void LLTextEditor::autoIndent()
{
// Count the number of spaces in the current line
- S32 line = getLineNumFromDocIndex(mCursorPos);
+ S32 line = getLineNumFromDocIndex(mCursorPos, false);
S32 line_start = getLineStart(line);
S32 space_count = 0;
S32 i;