Skip to content
Snippets Groups Projects
Commit 87be40df authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

Debug()

parent dd4c8a21
No related branches found
No related tags found
No related merge requests found
// $Id: Message.cpp,v 1.22 2001-07-08 15:45:47 geuzaine Exp $ // $Id: Message.cpp,v 1.23 2001-08-12 20:45:30 geuzaine Exp $
#include <unistd.h> #include <unistd.h>
#include <signal.h> #include <signal.h>
...@@ -48,6 +48,9 @@ void Signal (int sig_num){ ...@@ -48,6 +48,9 @@ void Signal (int sig_num){
/* M s g */ /* M s g */
/* ------------------------------------------------------------------------ */ /* ------------------------------------------------------------------------ */
void Debug(){
}
void Msg(int level, char *fmt, ...){ void Msg(int level, char *fmt, ...){
va_list args; va_list args;
int abort = 0, verb = 0, window = -1, log = 1; int abort = 0, verb = 0, window = -1, log = 1;
...@@ -130,6 +133,7 @@ void Msg(int level, char *fmt, ...){ ...@@ -130,6 +133,7 @@ void Msg(int level, char *fmt, ...){
} }
if(abort){ if(abort){
Debug();
if(WID){ if(WID){
WID->save_message(CTX.error_filename); WID->save_message(CTX.error_filename);
WID->fatal_error(CTX.error_filename); WID->fatal_error(CTX.error_filename);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment