diff options
author | Jacek Antonelli | 2008-09-06 18:24:57 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-09-06 18:25:07 -0500 |
commit | 798d367d54a6c6379ad355bd8345fa40e31e7fe9 (patch) | |
tree | 1921f1708cd0240648c97bc02df2c2ab5f2fc41e /linden/indra/newview/lleventnotifier.cpp | |
parent | Second Life viewer sources 1.20.15 (diff) | |
download | meta-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 '')
-rw-r--r-- | linden/indra/newview/lleventnotifier.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/linden/indra/newview/lleventnotifier.cpp b/linden/indra/newview/lleventnotifier.cpp index 9451667..e289a2b 100644 --- a/linden/indra/newview/lleventnotifier.cpp +++ b/linden/indra/newview/lleventnotifier.cpp | |||
@@ -68,7 +68,7 @@ void LLEventNotifier::update() | |||
68 | // Check our notifications again and send out updates | 68 | // Check our notifications again and send out updates |
69 | // if they happen. | 69 | // if they happen. |
70 | 70 | ||
71 | U32 alert_time = time_corrected() + 5 * 60; | 71 | time_t alert_time = time_corrected() + 5 * 60; |
72 | en_map::iterator iter; | 72 | en_map::iterator iter; |
73 | for (iter = mEventNotifications.begin(); | 73 | for (iter = mEventNotifications.begin(); |
74 | iter != mEventNotifications.end();) | 74 | iter != mEventNotifications.end();) |
@@ -77,7 +77,7 @@ void LLEventNotifier::update() | |||
77 | 77 | ||
78 | if (np->getEventDate() < (alert_time)) | 78 | if (np->getEventDate() < (alert_time)) |
79 | { | 79 | { |
80 | LLString::format_map_t args; | 80 | LLStringUtil::format_map_t args; |
81 | args["[NAME]"] = np->getEventName(); | 81 | args["[NAME]"] = np->getEventName(); |
82 | args["[DATE]"] = np->getEventDateStr(); | 82 | args["[DATE]"] = np->getEventDateStr(); |
83 | LLNotifyBox::showXml("EventNotification", args, | 83 | LLNotifyBox::showXml("EventNotification", args, |
@@ -203,7 +203,8 @@ void LLEventNotifier::notifyCallback(S32 option, void *user_data) | |||
203 | 203 | ||
204 | LLEventNotification::LLEventNotification() : | 204 | LLEventNotification::LLEventNotification() : |
205 | mEventID(0), | 205 | mEventID(0), |
206 | mEventName("") | 206 | mEventName(""), |
207 | mEventDate(0) | ||
207 | { | 208 | { |
208 | } | 209 | } |
209 | 210 | ||