aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra')
-rw-r--r--linden/indra/newview/viewertime.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/linden/indra/newview/viewertime.cpp b/linden/indra/newview/viewertime.cpp
index 5ed9465..9892aa5 100644
--- a/linden/indra/newview/viewertime.cpp
+++ b/linden/indra/newview/viewertime.cpp
@@ -107,7 +107,13 @@ void ViewerTime::refresh()
107 // it's daylight savings time there. 107 // it's daylight savings time there.
108 internal_time = utc_to_pacific_time(utc_time, gPacificDaylightTime); 108 internal_time = utc_to_pacific_time(utc_time, gPacificDaylightTime);
109 } 109 }
110 110
111 if(NULL == internal_time)
112 {
113 llwarns << "internal_time == NULL - Kaboom!" << llendl;
114 return;
115 }
116
111 mMinute = internal_time->tm_min; 117 mMinute = internal_time->tm_min;
112 mSecond = internal_time->tm_sec; 118 mSecond = internal_time->tm_sec;
113 S32 hour = internal_time->tm_hour; 119 S32 hour = internal_time->tm_hour;