aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--ChangeLog.txt14
-rw-r--r--linden/indra/llui/llkeywords.cpp8
2 files changed, 18 insertions, 4 deletions
diff --git a/ChangeLog.txt b/ChangeLog.txt
index 0a17bb1..17d1769 100644
--- a/ChangeLog.txt
+++ b/ChangeLog.txt
@@ -1,4 +1,4 @@
12009-02-17 McCabe Maxsted <hakushakukun@gmail.com> 12009-02-24 McCabe Maxsted <hakushakukun@gmail.com>
2 2
3 * linden/indra/newview/skins/default/xui/en-us/menu_viewer.xml: 3 * linden/indra/newview/skins/default/xui/en-us/menu_viewer.xml:
4 Changed the show/hide shortcuts to be linux friendly. 4 Changed the show/hide shortcuts to be linux friendly.
@@ -23,6 +23,12 @@
23 Fixed crash in Top Scripts. 23 Fixed crash in Top Scripts.
24 24
25 25
262009-02-16 Jacek Antonelli <jacek.antonelli@gmail.com>
27
28 * linden/indra/llui/llkeywords.cpp:
29 Fixed LSL comment coloring bleeding to next line. [#96]
30
31
262009-02-15 McCabe Maxsted <hakushakukun@gmail.com> 322009-02-15 McCabe Maxsted <hakushakukun@gmail.com>
27 33
28 * linden/indra/llcommon/llsdserialize.cpp: 34 * linden/indra/llcommon/llsdserialize.cpp:
@@ -38,6 +44,12 @@
38 Ditto. 44 Ditto.
39 45
40 46
47 Jacek Antonelli <jacek.antonelli@gmail.com>
48
49 * linden/indra/llui/llkeywords.cpp:
50 Don't assume that start and end delimiters are same length.
51
52
412009-02-14 McCabe Maxsted <hakushakukun@gmail.com> 532009-02-14 McCabe Maxsted <hakushakukun@gmail.com>
42 54
43 * linden/indra/newview/app_settings/settings.xml: 55 * linden/indra/newview/app_settings/settings.xml:
diff --git a/linden/indra/llui/llkeywords.cpp b/linden/indra/llui/llkeywords.cpp
index cd58d70..862e77b 100644
--- a/linden/indra/llui/llkeywords.cpp
+++ b/linden/indra/llui/llkeywords.cpp
@@ -438,10 +438,12 @@ void LLKeywords::findSegments(std::vector<LLTextSegment *>* seg_list, const LLWS
438 438
439 if( *cur ) 439 if( *cur )
440 { 440 {
441 cur += cur_delimiter->getLength(); 441 cur += cur_delimiter->getLength2();
442 if (cur_delimiter->getType() == LLKeywordToken::TWO_SIDED_DELIMITER) 442 if (cur_delimiter->getType() == LLKeywordToken::TWO_SIDED_DELIMITER)
443 { 443 {
444 seg_end = seg_start + between_delimiters + 2 * cur_delimiter->getLength(); 444 seg_end = seg_start + between_delimiters
445 + cur_delimiter->getLength()
446 + cur_delimiter->getLength2();
445 } 447 }
446 else if (cur_delimiter->getType() == LLKeywordToken::ONE_SIDED_DELIMITER) 448 else if (cur_delimiter->getType() == LLKeywordToken::ONE_SIDED_DELIMITER)
447 { 449 {
@@ -450,7 +452,7 @@ void LLKeywords::findSegments(std::vector<LLTextSegment *>* seg_list, const LLWS
450 between_delimiters++; 452 between_delimiters++;
451 cur++; 453 cur++;
452 } 454 }
453 seg_end = seg_start + between_delimiters + 2 + cur_delimiter->getLength(); 455 seg_end = seg_start + between_delimiters + cur_delimiter->getLength();
454 } 456 }
455 else 457 else
456 { 458 {