aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llui/lltexteditor.cpp
diff options
context:
space:
mode:
authorDavid Walter Seikel2013-04-08 04:47:32 +1000
committerDavid Walter Seikel2013-04-08 04:47:32 +1000
commit0f7ca330c308a5edb51ee325faf26e5498b38af9 (patch)
tree1ed99b02793514c85238bbc23f7881b7c9727d37 /linden/indra/llui/lltexteditor.cpp
parentA little more 64 bit clean now. (diff)
downloadmeta-impy-0f7ca330c308a5edb51ee325faf26e5498b38af9.zip
meta-impy-0f7ca330c308a5edb51ee325faf26e5498b38af9.tar.gz
meta-impy-0f7ca330c308a5edb51ee325faf26e5498b38af9.tar.bz2
meta-impy-0f7ca330c308a5edb51ee325faf26e5498b38af9.tar.xz
Delete a big bunch of unused variables.
Diffstat (limited to '')
-rw-r--r--linden/indra/llui/lltexteditor.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/linden/indra/llui/lltexteditor.cpp b/linden/indra/llui/lltexteditor.cpp
index c8ca5bf..1c12ff3 100644
--- a/linden/indra/llui/lltexteditor.cpp
+++ b/linden/indra/llui/lltexteditor.cpp
@@ -3077,7 +3077,6 @@ void LLTextEditor::drawSelectionBackground()
3077 S32 selection_right_x = mTextRect.mRight; 3077 S32 selection_right_x = mTextRect.mRight;
3078 S32 selection_right_y = mTextRect.mBottom; 3078 S32 selection_right_y = mTextRect.mBottom;
3079 3079
3080 BOOL selection_left_visible = FALSE;
3081 BOOL selection_right_visible = FALSE; 3080 BOOL selection_right_visible = FALSE;
3082 3081
3083 // Skip through the lines we aren't drawing. 3082 // Skip through the lines we aren't drawing.
@@ -3085,7 +3084,6 @@ void LLTextEditor::drawSelectionBackground()
3085 3084
3086 S32 left_line_num = cur_line; 3085 S32 left_line_num = cur_line;
3087 S32 num_lines = getLineCount(); 3086 S32 num_lines = getLineCount();
3088 S32 right_line_num = num_lines - 1;
3089 3087
3090 S32 line_start = -1; 3088 S32 line_start = -1;
3091 if (cur_line >= num_lines) 3089 if (cur_line >= num_lines)
@@ -3119,13 +3117,11 @@ void LLTextEditor::drawSelectionBackground()
3119 if( line_start <= selection_left && selection_left <= line_end ) 3117 if( line_start <= selection_left && selection_left <= line_end )
3120 { 3118 {
3121 left_line_num = cur_line; 3119 left_line_num = cur_line;
3122 selection_left_visible = TRUE;
3123 selection_left_x = mTextRect.mLeft + mGLFont->getWidth(line, 0, selection_left - line_start, mAllowEmbeddedItems); 3120 selection_left_x = mTextRect.mLeft + mGLFont->getWidth(line, 0, selection_left - line_start, mAllowEmbeddedItems);
3124 selection_left_y = text_y; 3121 selection_left_y = text_y;
3125 } 3122 }
3126 if( line_start <= selection_right && selection_right <= line_end ) 3123 if( line_start <= selection_right && selection_right <= line_end )
3127 { 3124 {
3128 right_line_num = cur_line;
3129 selection_right_visible = TRUE; 3125 selection_right_visible = TRUE;
3130 selection_right_x = mTextRect.mLeft + mGLFont->getWidth(line, 0, selection_right - line_start, mAllowEmbeddedItems); 3126 selection_right_x = mTextRect.mLeft + mGLFont->getWidth(line, 0, selection_right - line_start, mAllowEmbeddedItems);
3131 if (selection_right == line_end) 3127 if (selection_right == line_end)