aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llpanelmsgs.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/llpanelmsgs.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/llpanelmsgs.cpp')
-rw-r--r--linden/indra/newview/llpanelmsgs.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/linden/indra/newview/llpanelmsgs.cpp b/linden/indra/newview/llpanelmsgs.cpp
index fb33edf..cc3579e 100644
--- a/linden/indra/newview/llpanelmsgs.cpp
+++ b/linden/indra/newview/llpanelmsgs.cpp
@@ -52,7 +52,7 @@ LLPopupData sPopupData;
52 52
53//----------------------------------------------------------------------------- 53//-----------------------------------------------------------------------------
54LLPanelMsgs::LLPanelMsgs() : 54LLPanelMsgs::LLPanelMsgs() :
55 LLPanel("Messages Panel"), 55 LLPanel(std::string("Messages Panel")),
56 mDisabledPopups( NULL ), 56 mDisabledPopups( NULL ),
57 mEnabledPopups( NULL ) 57 mEnabledPopups( NULL )
58{ 58{
@@ -199,10 +199,10 @@ void LLPanelMsgs::onClickEnablePopup(void* user_data)
199 std::vector<LLScrollListItem*>::iterator itor; 199 std::vector<LLScrollListItem*>::iterator itor;
200 for (itor = items.begin(); itor != items.end(); ++itor) 200 for (itor = items.begin(); itor != items.end(); ++itor)
201 { 201 {
202 LLAlertDialog::template_map_t::iterator found_alert = LLAlertDialog::sAlertTemplates.find(*(LLString*)((*itor)->getUserdata())); 202 LLAlertDialog::template_map_t::iterator found_alert = LLAlertDialog::sAlertTemplates.find(*(std::string*)((*itor)->getUserdata()));
203 if (found_alert != LLAlertDialog::sAlertTemplates.end()) 203 if (found_alert != LLAlertDialog::sAlertTemplates.end())
204 { 204 {
205 LLAlertDialogTemplate* alert_temp = LLAlertDialog::sAlertTemplates[*(LLString*)((*itor)->getUserdata())]; 205 LLAlertDialogTemplate* alert_temp = LLAlertDialog::sAlertTemplates[*(std::string*)((*itor)->getUserdata())];
206 gSavedSettings.setWarning(alert_temp->mIgnoreLabel, TRUE); 206 gSavedSettings.setWarning(alert_temp->mIgnoreLabel, TRUE);
207 } 207 }
208 } 208 }