aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorMcCabe Maxsted2009-10-03 11:17:31 -0700
committerMcCabe Maxsted2009-10-03 11:17:31 -0700
commit60c2a946c2d1d760ce02edad62697d9d0efbfb79 (patch)
treef8e4bc5ac1bab087ff305a72d7d3b4d17f772a9f
parentFixed search window height being too small for new profile layout (diff)
downloadmeta-impy-60c2a946c2d1d760ce02edad62697d9d0efbfb79.zip
meta-impy-60c2a946c2d1d760ce02edad62697d9d0efbfb79.tar.gz
meta-impy-60c2a946c2d1d760ce02edad62697d9d0efbfb79.tar.bz2
meta-impy-60c2a946c2d1d760ce02edad62697d9d0efbfb79.tar.xz
Fixed an issue with llkeywords.cpp(385) and Visual Studio
-rw-r--r--ChangeLog.txt6
-rw-r--r--linden/indra/llui/llkeywords.cpp4
2 files changed, 8 insertions, 2 deletions
diff --git a/ChangeLog.txt b/ChangeLog.txt
index ad75137..089eff2 100644
--- a/ChangeLog.txt
+++ b/ChangeLog.txt
@@ -1,8 +1,14 @@
12009-10-03 McCabe Maxsted <hakushakukun@gmail.com> 12009-10-03 McCabe Maxsted <hakushakukun@gmail.com>
2 2
3 * Fixed an issue with llkeywords.cpp(385) and Visual Studio.
4
5 modified: linden/indra/llui/llkeywords.cpp
6
7
3 * Fixed search window height being too small for new profile layout. 8 * Fixed search window height being too small for new profile layout.
4 9
5 modified: linden/indra/newview/skins/default/xui/en-us/floater_directory.xml 10 modified: linden/indra/newview/skins/default/xui/en-us/floater_directory.xml
11
6 12
72009-10-02 McCabe Maxsted <hakushakukun@gmail.com> 132009-10-02 McCabe Maxsted <hakushakukun@gmail.com>
8 14
diff --git a/linden/indra/llui/llkeywords.cpp b/linden/indra/llui/llkeywords.cpp
index b7e7d87..3580567 100644
--- a/linden/indra/llui/llkeywords.cpp
+++ b/linden/indra/llui/llkeywords.cpp
@@ -380,9 +380,9 @@ void LLKeywords::findSegments(std::vector<LLTextSegment *>* seg_list, const LLWS
380 seg_start = cur - base; 380 seg_start = cur - base;
381 cur += cur_delimiter->getLength(); 381 cur += cur_delimiter->getLength();
382 382
383 if( cur_delimiter->getType() == LLKeywordToken::TWO_SIDED_DELIMITER || LLKeywordToken::TWO_SIDED_DELIMITER_ESC) 383 LLKeywordToken::TOKEN_TYPE type = cur_delimiter->getType();
384 if (type == LLKeywordToken::TWO_SIDED_DELIMITER || type == LLKeywordToken::TWO_SIDED_DELIMITER_ESC)
384 { 385 {
385 llassert( cur_delimiter->getDelimiter() != NULL );
386 while( *cur && !cur_delimiter->isTail(cur)) 386 while( *cur && !cur_delimiter->isTail(cur))
387 { 387 {
388 // Check for an escape sequence. 388 // Check for an escape sequence.