diff options
author | David Seikel | 2011-04-26 21:30:21 +1000 |
---|---|---|
committer | David Seikel | 2011-04-26 21:30:21 +1000 |
commit | da97e24c3b045d16589124496d032ffb9b4ca07f (patch) | |
tree | 34d84cf4355f83e1a106d06a10ed2a4bb121fdc4 /linden/indra/newview/viewertime.cpp | |
parent | Apparently there is a wrong client tag for firestorm out in the wild. (diff) | |
parent | Changed version to Experimental 2011.04.19 (diff) | |
download | meta-impy-da97e24c3b045d16589124496d032ffb9b4ca07f.zip meta-impy-da97e24c3b045d16589124496d032ffb9b4ca07f.tar.gz meta-impy-da97e24c3b045d16589124496d032ffb9b4ca07f.tar.bz2 meta-impy-da97e24c3b045d16589124496d032ffb9b4ca07f.tar.xz |
Merge remote-tracking branch 'imprudence/exp' into exp
Conflicts (for future reference):
linden/indra/llcommon/llstring.cpp
linden/indra/newview/llpanelnetwork.cpp
linden/indra/newview/llselectmgr.cpp
linden/indra/newview/llstartup.cpp
linden/indra/newview/lltoolmgr.cpp
linden/indra/newview/llvoavatar.cpp
Diffstat (limited to '')
-rw-r--r-- | linden/indra/newview/viewertime.cpp | 8 |
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; |