summaryrefslogtreecommitdiff
path: root/crashrep/source/unx/main.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'crashrep/source/unx/main.cxx')
-rwxr-xr-xcrashrep/source/unx/main.cxx9
1 files changed, 5 insertions, 4 deletions
diff --git a/crashrep/source/unx/main.cxx b/crashrep/source/unx/main.cxx
index 95cd317e1988..0bacb7f0737d 100755
--- a/crashrep/source/unx/main.cxx
+++ b/crashrep/source/unx/main.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: main.cxx,v $
*
- * $Revision: 1.25 $
+ * $Revision: 1.26 $
*
- * last change: $Author: ihi $ $Date: 2006-08-29 13:32:09 $
+ * last change: $Author: rt $ $Date: 2007-01-29 15:14:53 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -966,9 +966,10 @@ static void read_settings_from_environment( hash_map< string, string >& rSetting
if ( strEnv.length() )
{
rSettings[ "EMAIL" ] = strEnv;
- rSettings[ "CONTACT" ] = "true";
+ if ( !(rSettings.find( "CONTACT" )->second).length() )
+ rSettings[ "CONTACT" ] = "true";
}
- else
+ else if ( !(rSettings.find( "CONTACT" )->second).length() )
rSettings[ "CONTACT" ] = "false";