From 9f2aee65453981b37b7108ba3acdd86f0354defa Mon Sep 17 00:00:00 2001 From: Jacek Antonelli Date: Sun, 15 Mar 2009 14:23:39 -0500 Subject: Second Life viewer sources 1.22.11 --- linden/indra/llcommon/llversionviewer.h | 2 +- linden/indra/llui/lltexteditor.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'linden/indra') diff --git a/linden/indra/llcommon/llversionviewer.h b/linden/indra/llcommon/llversionviewer.h index 258a5e2..33e5fdc 100644 --- a/linden/indra/llcommon/llversionviewer.h +++ b/linden/indra/llcommon/llversionviewer.h @@ -34,7 +34,7 @@ const S32 LL_VERSION_MAJOR = 1; const S32 LL_VERSION_MINOR = 22; -const S32 LL_VERSION_PATCH = 10; +const S32 LL_VERSION_PATCH = 11; const S32 LL_VERSION_BUILD = 0; const char * const LL_CHANNEL = "Second Life Release"; diff --git a/linden/indra/llui/lltexteditor.cpp b/linden/indra/llui/lltexteditor.cpp index a40fec8..62064d9 100644 --- a/linden/indra/llui/lltexteditor.cpp +++ b/linden/indra/llui/lltexteditor.cpp @@ -1009,7 +1009,7 @@ void LLTextEditor::indentSelectedLines( S32 spaces ) } else { - while( (text[right] != '\n') && (right <= getLength() ) ) + while( right < getLength() && (text[right] != '\n') ) { right++; } -- cgit v1.1