summaryrefslogtreecommitdiff
path: root/indra/llui
diff options
context:
space:
mode:
authorBryan O'Sullivan <bos@lindenlab.com>2009-09-09 20:59:38 +0000
committerBryan O'Sullivan <bos@lindenlab.com>2009-09-09 20:59:38 +0000
commitbc1df4b1db40f2cff98b4002f3f2d3a723c84be5 (patch)
tree2b704bb91f4f039e241f40eb56b7d8352fffb8ba /indra/llui
parent8bed0558f538f7dfb8875e418f20c9d9da93ae17 (diff)
Fix a whole bunch of compilation warnings reported by gcc 4.4
Diffstat (limited to 'indra/llui')
-rw-r--r--indra/llui/llmenugl.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/llui/llmenugl.cpp b/indra/llui/llmenugl.cpp
index a8d06643ff..9af92af530 100644
--- a/indra/llui/llmenugl.cpp
+++ b/indra/llui/llmenugl.cpp
@@ -2416,8 +2416,8 @@ void LLMenuGL::createJumpKeys()
{
char jump_key = uppercase_word[i];
- if (LLStringOps::isDigit(jump_key) || LLStringOps::isUpper(jump_key) &&
- mJumpKeys.find(jump_key) == mJumpKeys.end())
+ if (LLStringOps::isDigit(jump_key) || (LLStringOps::isUpper(jump_key) &&
+ mJumpKeys.find(jump_key) == mJumpKeys.end()))
{
mJumpKeys.insert(std::pair<KEY, LLMenuItemGL*>(jump_key, (*item_it)));
(*item_it)->setJumpKey(jump_key);