aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llpanelevent.cpp
diff options
context:
space:
mode:
authorJacek Antonelli2008-09-06 18:24:57 -0500
committerJacek Antonelli2008-09-06 18:25:07 -0500
commit798d367d54a6c6379ad355bd8345fa40e31e7fe9 (patch)
tree1921f1708cd0240648c97bc02df2c2ab5f2fc41e /linden/indra/newview/llpanelevent.cpp
parentSecond Life viewer sources 1.20.15 (diff)
downloadmeta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.zip
meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.tar.gz
meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.tar.bz2
meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.tar.xz
Second Life viewer sources 1.21.0-RC
Diffstat (limited to 'linden/indra/newview/llpanelevent.cpp')
-rw-r--r--linden/indra/newview/llpanelevent.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/linden/indra/newview/llpanelevent.cpp b/linden/indra/newview/llpanelevent.cpp
index abfbe79..f205e94 100644
--- a/linden/indra/newview/llpanelevent.cpp
+++ b/linden/indra/newview/llpanelevent.cpp
@@ -56,7 +56,7 @@
56//static 56//static
57std::list<LLPanelEvent*> LLPanelEvent::sAllPanels; 57std::list<LLPanelEvent*> LLPanelEvent::sAllPanels;
58 58
59LLPanelEvent::LLPanelEvent() : LLPanel("Event Panel") 59LLPanelEvent::LLPanelEvent() : LLPanel(std::string("Event Panel"))
60{ 60{
61 sAllPanels.push_back(this); 61 sAllPanels.push_back(this);
62} 62}
@@ -175,7 +175,7 @@ void LLPanelEvent::processEventInfoReply(LLMessageSystem *msg, void **)
175 S32 region_y = llround(global_y) % REGION_WIDTH_UNITS; 175 S32 region_y = llround(global_y) % REGION_WIDTH_UNITS;
176 S32 region_z = llround((F32)self->mEventInfo.mPosGlobal.mdV[VZ]); 176 S32 region_z = llround((F32)self->mEventInfo.mPosGlobal.mdV[VZ]);
177 177
178 LLString desc = self->mEventInfo.mSimName + llformat(" (%d, %d, %d)", region_x, region_y, region_z); 178 std::string desc = self->mEventInfo.mSimName + llformat(" (%d, %d, %d)", region_x, region_y, region_z);
179 self->mTBLocation->setText(desc); 179 self->mTBLocation->setText(desc);
180 180
181 if (self->mEventInfo.mEventFlags & EVENT_FLAG_MATURE) 181 if (self->mEventInfo.mEventFlags & EVENT_FLAG_MATURE)