aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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);