1.1 --- a/src/util.c Thu Oct 11 08:22:03 2007 +0000
1.2 +++ b/src/util.c Wed Oct 31 09:06:48 2007 +0000
1.5 - * $Id: util.c,v 1.9 2007-10-11 08:22:03 nkeynes Exp $
1.6 + * $Id: util.c,v 1.10 2007-10-16 12:36:29 nkeynes Exp $
1.8 * Miscellaneous utility functions.
1.10 @@ -102,12 +102,23 @@
1.11 if( level > global_msg_level ) {
1.17 + if( level <= EMIT_ERR ) {
1.18 + gchar *text = g_strdup_vprintf( msg, ap );
1.19 + if( gui_error_dialog( text ) ) {
1.28 strftime( buf, sizeof(buf), "%H:%M:%S", localtime(&tm) );
1.30 fprintf( stderr, "%s %08X %-5s ", buf, sh4r.pc, msg_levels[level] );
1.31 vfprintf( stderr, msg, ap );
1.33 fprintf( stderr, "\n" );