aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llviewermessage.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xlinden/indra/newview/llviewermessage.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/linden/indra/newview/llviewermessage.cpp b/linden/indra/newview/llviewermessage.cpp
index 52113ce..2754e2c 100755
--- a/linden/indra/newview/llviewermessage.cpp
+++ b/linden/indra/newview/llviewermessage.cpp
@@ -37,7 +37,7 @@
37 37
38#include <deque> 38#include <deque>
39 39
40#include "audioengine.h" 40#include "llaudioengine.h"
41#include "indra_constants.h" 41#include "indra_constants.h"
42#include "lscript_byteformat.h" 42#include "lscript_byteformat.h"
43#include "mean_collision_data.h" 43#include "mean_collision_data.h"
@@ -973,7 +973,7 @@ void open_offer(const std::vector<LLUUID>& items, const std::string& from_name)
973 LL_DEBUGS("Messaging") << "Highlighting" << item->getUUID() << LL_ENDL; 973 LL_DEBUGS("Messaging") << "Highlighting" << item->getUUID() << LL_ENDL;
974 //highlight item 974 //highlight item
975 975
976 LLUICtrl* focus_ctrl = gFocusMgr.getKeyboardFocus(); 976 LLFocusableElement* focus_ctrl = gFocusMgr.getKeyboardFocus();
977 view->getPanel()->setSelection(item->getUUID(), TAKE_FOCUS_NO); 977 view->getPanel()->setSelection(item->getUUID(), TAKE_FOCUS_NO);
978 gFocusMgr.setKeyboardFocus(focus_ctrl); 978 gFocusMgr.setKeyboardFocus(focus_ctrl);
979 } 979 }
@@ -5208,11 +5208,11 @@ void mean_name_callback(const LLUUID &id, const std::string& first, const std::s
5208 return; 5208 return;
5209 } 5209 }
5210 5210
5211 static const int max_collision_list_size = 20; 5211 static const U32 max_collision_list_size = 20;
5212 if (gMeanCollisionList.size() > max_collision_list_size) 5212 if (gMeanCollisionList.size() > max_collision_list_size)
5213 { 5213 {
5214 mean_collision_list_t::iterator iter = gMeanCollisionList.begin(); 5214 mean_collision_list_t::iterator iter = gMeanCollisionList.begin();
5215 for (S32 i=0; i<max_collision_list_size; i++) iter++; 5215 for (U32 i=0; i<max_collision_list_size; i++) iter++;
5216 for_each(iter, gMeanCollisionList.end(), DeletePointer()); 5216 for_each(iter, gMeanCollisionList.end(), DeletePointer());
5217 gMeanCollisionList.erase(iter, gMeanCollisionList.end()); 5217 gMeanCollisionList.erase(iter, gMeanCollisionList.end());
5218 } 5218 }