aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llappviewerlinux.cpp
diff options
context:
space:
mode:
authorJacek Antonelli2008-08-15 23:45:54 -0500
committerJacek Antonelli2008-08-15 23:45:54 -0500
commitd0b03a62fd799317d5da0bd56615739ce3b5b052 (patch)
tree8bc79bbbb52e18294f62810d9fa66ce136f90e2d /linden/indra/newview/llappviewerlinux.cpp
parentSecond Life viewer sources 1.20.8 (diff)
downloadmeta-impy-d0b03a62fd799317d5da0bd56615739ce3b5b052.zip
meta-impy-d0b03a62fd799317d5da0bd56615739ce3b5b052.tar.gz
meta-impy-d0b03a62fd799317d5da0bd56615739ce3b5b052.tar.bz2
meta-impy-d0b03a62fd799317d5da0bd56615739ce3b5b052.tar.xz
Second Life viewer sources 1.20.9
Diffstat (limited to '')
-rw-r--r--linden/indra/newview/llappviewerlinux.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/linden/indra/newview/llappviewerlinux.cpp b/linden/indra/newview/llappviewerlinux.cpp
index e41c505..5537687 100644
--- a/linden/indra/newview/llappviewerlinux.cpp
+++ b/linden/indra/newview/llappviewerlinux.cpp
@@ -333,13 +333,15 @@ void LLAppViewerLinux::handleSyncCrashTrace()
333 333
334void LLAppViewerLinux::handleCrashReporting() 334void LLAppViewerLinux::handleCrashReporting()
335{ 335{
336 const S32 cb = gCrashSettings.getS32(CRASH_BEHAVIOR_SETTING);
337
336 // Always generate the report, have the logger do the asking, and 338 // Always generate the report, have the logger do the asking, and
337 // don't wait for the logger before exiting (-> total cleanup). 339 // don't wait for the logger before exiting (-> total cleanup).
338 if (CRASH_BEHAVIOR_NEVER_SEND != LLAppViewer::instance()->getCrashBehavior()) 340 if (CRASH_BEHAVIOR_NEVER_SEND != cb)
339 { 341 {
340 // launch the actual crash logger 342 // launch the actual crash logger
341 char* ask_dialog = "-dialog"; 343 char* ask_dialog = "-dialog";
342 if (CRASH_BEHAVIOR_ASK != LLAppViewer::instance()->getCrashBehavior()) 344 if (CRASH_BEHAVIOR_ASK != cb)
343 ask_dialog = ""; // omit '-dialog' option 345 ask_dialog = ""; // omit '-dialog' option
344 std::string cmd =gDirUtilp->getAppRODataDir(); 346 std::string cmd =gDirUtilp->getAppRODataDir();
345 cmd += gDirUtilp->getDirDelimiter(); 347 cmd += gDirUtilp->getDirDelimiter();