summaryrefslogtreecommitdiff
path: root/indra/newview/llstartup.cpp
diff options
context:
space:
mode:
authorJosh Bell <josh@lindenlab.com>2007-04-04 19:49:24 +0000
committerJosh Bell <josh@lindenlab.com>2007-04-04 19:49:24 +0000
commit98740db8fd5875033d08b6aef6d9bf5c3c49eeee (patch)
treedd0e83734e50ffd4d9f87eb2ed4091f867f2f1fd /indra/newview/llstartup.cpp
parentaa96d1fddff3d5bf68a5014229a0d20584937222 (diff)
svn merge -r 59826:59968 svn+ssh://svn.lindenlab.com/svn/linden/branches/maintenance --> release
Diffstat (limited to 'indra/newview/llstartup.cpp')
-rw-r--r--indra/newview/llstartup.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/indra/newview/llstartup.cpp b/indra/newview/llstartup.cpp
index d57292e23d..f3a2c629fd 100644
--- a/indra/newview/llstartup.cpp
+++ b/indra/newview/llstartup.cpp
@@ -128,8 +128,8 @@
#include "viewer.h"
#include "llmediaengine.h"
#include "llfasttimerview.h"
+#include "llfloatermap.h"
#include "llweb.h"
-#include "llfloaterhtml.h"
#if LL_LIBXUL_ENABLED
#include "llmozlib.h"
@@ -503,12 +503,11 @@ BOOL idle_startup()
// the locale to protect it, as exotic/non-C locales
// causes our code lots of general critical weirdness
// and crashness. (SL-35450)
- char *saved_locale = setlocale(LC_ALL, NULL);
+ std::string saved_locale = setlocale(LC_ALL, NULL);
#endif // LL_LINUX
LLMozLib::getInstance()->init( profileBaseDir, gDirUtilp->getExpandedFilename( LL_PATH_MOZILLA_PROFILE, "" ) );
#if LL_LINUX
- if (saved_locale)
- setlocale(LC_ALL, saved_locale);
+ setlocale(LC_ALL, saved_locale.c_str() );
#endif // LL_LINUX
std::ostringstream codec;