summaryrefslogtreecommitdiff
path: root/indra/llui/lltexteditor.cpp
diff options
context:
space:
mode:
authorAlexander Gavriliuk <alexandrgproductengine@lindenlab.com>2024-11-26 16:13:35 +0100
committerAndrey Kleshchev <117672381+akleshchev@users.noreply.github.com>2026-01-05 22:14:45 +0200
commitbe6bab45089e2cf11708ae975a145b4e7f095b5e (patch)
tree1db987eb2f2b5d6d418eb7ba6d41f1ea183f5346 /indra/llui/lltexteditor.cpp
parentedb294a8fef8d8b157fa6bdcf04fdd6fcd9af862 (diff)
#3096 Shift+Tab selects extra lines on script edit on reduce indent
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 fcdf3782ae..7689b93374 100644
--- a/indra/llui/lltexteditor.cpp
+++ b/indra/llui/lltexteditor.cpp
@@ -581,7 +581,7 @@ S32 LLTextEditor::indentLine( S32 pos, S32 spaces )
LLWString wtext = getWText();
if (wtext[pos] == ' ')
{
- delta_spaces += remove( pos, 1, false );
+ delta_spaces -= remove( pos, 1, false );
}
}
}