1.1 --- a/src/gui/debug_win.c Tue Sep 18 10:48:57 2007 +0000
1.2 +++ b/src/gui/debug_win.c Wed Oct 03 09:32:09 2007 +0000
1.5 - * $Id: debug_win.c,v 1.20 2007-09-18 10:48:57 nkeynes Exp $
1.6 + * $Id: debug_win.c,v 1.21 2007-10-03 09:32:09 nkeynes Exp $
1.7 * This file is responsible for the main debugger gui frame.
1.9 * Copyright (c) 2005 Nathan Keynes.
1.11 GdkColor *msg_colors[] = { &clrError, &clrError, &clrWarn, &clrNormal,
1.12 &clrDebug, &clrTrace };
1.13 char *msg_levels[] = { "FATAL", "ERROR", "WARN", "INFO", "DEBUG", "TRACE" };
1.14 +int global_msg_level = EMIT_WARN;
1.16 void init_register_list( debug_info_t data );
1.18 @@ -294,6 +295,10 @@
1.21 else data = (debug_info_t)ptr;
1.23 + if( level > global_msg_level ) {
1.24 + return; // ignored
1.28 strftime( buf, sizeof(buf), "%H:%M:%S", localtime(&tm) );