aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llpanelmsgs.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-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 }