summaryrefslogtreecommitdiff
path: root/indra/llui/lllineeditor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'indra/llui/lllineeditor.cpp')
-rw-r--r--indra/llui/lllineeditor.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/indra/llui/lllineeditor.cpp b/indra/llui/lllineeditor.cpp
index ba50728e89..de951d3b56 100644
--- a/indra/llui/lllineeditor.cpp
+++ b/indra/llui/lllineeditor.cpp
@@ -151,7 +151,8 @@ LLLineEditor::LLLineEditor(const LLLineEditor::Params& p)
mHighlightColor(p.highlight_color()),
mPreeditBgColor(p.preedit_bg_color()),
mGLFont(p.font),
- mContextMenuHandle()
+ mContextMenuHandle(),
+ mAutocorrectCallback()
{
llassert( mMaxLengthBytes > 0 );
@@ -866,10 +867,10 @@ void LLLineEditor::addChar(const llwchar uni_char)
}
// *TODO implement callback routine
- if (!mReadOnly /*&& autocorrectCallbackRoutine != NULL */)
+ if (!mReadOnly && mAutocorrectCallback != NULL)
{
// call callback
- // autotocorrectCallbackRoutine(mText&, mCursorPos&);
+ // mAutotocorrectCallback(mText&, mCursorPos&);
}
getWindow()->hideCursorUntilMouseMove();