summaryrefslogtreecommitdiff
path: root/indra/llui/lltexteditor.cpp
diff options
context:
space:
mode:
authorrichard <none@none>2009-11-25 19:14:55 -0800
committerrichard <none@none>2009-11-25 19:14:55 -0800
commitedcd835febac3758d1522b4ec51bba60eeafcd63 (patch)
tree85c9875e5bdcd7ec0c50f76ae800f521b5585121 /indra/llui/lltexteditor.cpp
parent617ca79ed073604883f3e0e21b2e81a3786bbe6f (diff)
fixed line numbering in script editors
Diffstat (limited to 'indra/llui/lltexteditor.cpp')
-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 3f4ef24f82..0e8db09980 100644
--- a/indra/llui/lltexteditor.cpp
+++ b/indra/llui/lltexteditor.cpp
@@ -2158,7 +2158,7 @@ void LLTextEditor::drawLineNumbers()
return;
}
- S32 cursor_line = getLineNumFromDocIndex(mCursorPos);
+ S32 cursor_line = mLineInfoList[getLineNumFromDocIndex(mCursorPos)].mLineNum;
if (mShowLineNumbers)
{