From f6d86fcacf79c8147e2075db64caee7521f3b227 Mon Sep 17 00:00:00 2001 From: Ima Mechanique Date: Tue, 17 Dec 2013 18:23:09 +0000 Subject: Fixing some BOOL to bool and changing one function to void --- indra/llui/llkeywords.cpp | 15 +++++++-------- indra/llui/llkeywords.h | 8 +++----- 2 files changed, 10 insertions(+), 13 deletions(-) (limited to 'indra') diff --git a/indra/llui/llkeywords.cpp b/indra/llui/llkeywords.cpp index 5f5810812e..393681be27 100755 --- a/indra/llui/llkeywords.cpp +++ b/indra/llui/llkeywords.cpp @@ -34,10 +34,10 @@ #include "lltexteditor.h" #include "llstl.h" -inline BOOL LLKeywordToken::isHead(const llwchar* s) const +inline bool LLKeywordToken::isHead(const llwchar* s) const { // strncmp is much faster than string compare - BOOL res = TRUE; + bool res = TRUE; const llwchar* t = mToken.c_str(); S32 len = mToken.size(); for (S32 i=0; i *seg_list, const LLWString& text, const LLColor4 &defaultColor, class LLTextEditor& editor ); - bool initialise(LLSD SyntaxXML); + void initialise(LLSD SyntaxXML); void processTokens(); // Add the token as described -- cgit v1.2.3