aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2005-07-31 03:41:53 +0800
committerChristian Persch <chpe@src.gnome.org>2005-07-31 03:41:53 +0800
commit5af8327ff40e6475a50ba7f239254fcc4bd8dad9 (patch)
tree32a654890fad6b1c4d7007a6da36d0107cce36ca
parentb8d8036da7543c57c03d0baf218691c74419ec0a (diff)
downloadgsoc2013-epiphany-5af8327ff40e6475a50ba7f239254fcc4bd8dad9.tar.gz
gsoc2013-epiphany-5af8327ff40e6475a50ba7f239254fcc4bd8dad9.tar.zst
gsoc2013-epiphany-5af8327ff40e6475a50ba7f239254fcc4bd8dad9.zip
Allow set-but-empty EPHY_DEBUG_BREAK variable.
2005-07-30 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-debug.c: (trap_handler): Allow set-but-empty EPHY_DEBUG_BREAK variable.
-rw-r--r--ChangeLog6
-rw-r--r--lib/ephy-debug.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index eb47feb45..98f93ed7e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
2005-07-30 Christian Persch <chpe@cvs.gnome.org>
+ * lib/ephy-debug.c: (trap_handler):
+
+ Allow set-but-empty EPHY_DEBUG_BREAK variable.
+
+2005-07-30 Christian Persch <chpe@cvs.gnome.org>
+
* embed/print-dialog.c: (ephy_print_load_config_from_file),
(ephy_print_save_config_to_file):
diff --git a/lib/ephy-debug.c b/lib/ephy-debug.c
index a00fe1fab..d999e7b3a 100644
--- a/lib/ephy-debug.c
+++ b/lib/ephy-debug.c
@@ -126,7 +126,7 @@ trap_handler (const char *log_domain,
{
/* default behaviour only */
}
- else
+ else if (ephy_debug_break[0] != '\0')
{
g_print ("Unrecognised value of EPHY_DEBUG_BREAK env var: %s!\n",
ephy_debug_break);