From 5af8327ff40e6475a50ba7f239254fcc4bd8dad9 Mon Sep 17 00:00:00 2001 From: Christian Persch Date: Sat, 30 Jul 2005 19:41:53 +0000 Subject: Allow set-but-empty EPHY_DEBUG_BREAK variable. 2005-07-30 Christian Persch * lib/ephy-debug.c: (trap_handler): Allow set-but-empty EPHY_DEBUG_BREAK variable. --- ChangeLog | 6 ++++++ lib/ephy-debug.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index eb47feb45..98f93ed7e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2005-07-30 Christian Persch + + * lib/ephy-debug.c: (trap_handler): + + Allow set-but-empty EPHY_DEBUG_BREAK variable. + 2005-07-30 Christian Persch * embed/print-dialog.c: (ephy_print_load_config_from_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); -- cgit