diff --git a/indra/newview/llscripteditor.cpp b/indra/newview/llscripteditor.cpp
index da08aa87a8b7c93190136d695780a7f53fce5fe3..5e0bc06544abb0157fdfe045631fc752ed3ebf59 100644
--- a/indra/newview/llscripteditor.cpp
+++ b/indra/newview/llscripteditor.cpp
@@ -93,11 +93,6 @@ void LLScriptEditor::drawLineNumbers()
 		S32 bottom = 0;
 		
 		F32 alpha = getCurrentTransparency();
-		LLColor4 bg_color = mReadOnly ? mReadOnlyBgColor.get()
-									  : hasFocus() ? mFocusBgColor.get()
-												   : mWriteableBgColor.get();
-		
-		gl_rect_2d(left, top, UI_TEXTEDITOR_LINE_NUMBER_MARGIN, bottom, bg_color % alpha, FALSE ); // line number area always read-only
 		gl_rect_2d(UI_TEXTEDITOR_LINE_NUMBER_MARGIN, top, UI_TEXTEDITOR_LINE_NUMBER_MARGIN-1, bottom, LLColor4::grey3 % alpha); // separator
 		
 		S32 last_line_num = -1;