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

*** empty log message ***

parent 7b4fb857
No related branches found
No related tags found
No related merge requests found
// $Id: Callbacks.cpp,v 1.17 2001-01-11 22:27:55 geuzaine Exp $ // $Id: Callbacks.cpp,v 1.18 2001-01-12 00:43:05 geuzaine Exp $
#include "Gmsh.h" #include "Gmsh.h"
#include "GmshUI.h" #include "GmshUI.h"
...@@ -1581,6 +1581,9 @@ void view_options_vector_displacement_cb(CALLBACK_ARGS){ ...@@ -1581,6 +1581,9 @@ void view_options_vector_displacement_cb(CALLBACK_ARGS){
ENDVIEWMOD ENDVIEWMOD
} }
void view_options_vector_scale_cb(CALLBACK_ARGS){ void view_options_vector_scale_cb(CALLBACK_ARGS){
STARTVIEWMOD
v->ArrowScale = ((Fl_Value_Input*)w)->value() ;
ENDVIEWMOD
} }
void view_options_vector_cog_cb(CALLBACK_ARGS){ void view_options_vector_cog_cb(CALLBACK_ARGS){
STARTVIEWMOD STARTVIEWMOD
......
// $Id: Message.cpp,v 1.6 2001-01-11 22:27:55 geuzaine Exp $ // $Id: Message.cpp,v 1.7 2001-01-12 00:43:05 geuzaine Exp $
#include <signal.h> #include <signal.h>
#ifndef WIN32 #ifndef WIN32
...@@ -22,11 +22,11 @@ void Signal (int sig_num){ ...@@ -22,11 +22,11 @@ void Signal (int sig_num){
switch (sig_num){ switch (sig_num){
case SIGSEGV : case SIGSEGV :
Msg(FATAL, "Segmentation Violation (Invalid Memory Reference)\n" Msg(FATAL1, "Segmentation Violation (Invalid Memory Reference)");
"------------------------------------------------------\n" Msg(FATAL2, "------------------------------------------------------");
"You have discovered a bug in Gmsh. You may e-mail the\n" Msg(FATAL2, "You have discovered a bug in Gmsh. You may e-mail the");
"context in which it occurred to one of the authors:\n" Msg(FATAL2, "context in which it occurred to one of the authors:");
"type 'gmsh -info' to get feedback information"); Msg(FATAL3, "type 'gmsh -info' to get feedback information");
break; break;
case SIGFPE : case SIGFPE :
Msg(FATAL, "Floating Point Exception (Division by Zero?)"); Msg(FATAL, "Floating Point Exception (Division by Zero?)");
...@@ -153,7 +153,12 @@ void Msg(int level, char *fmt, ...){ ...@@ -153,7 +153,12 @@ void Msg(int level, char *fmt, ...){
va_end (args); va_end (args);
if(abort) exit(1); if(!verb) WID->create_message_window();
if(abort){
WID->save_message("error.log");
exit(1);
}
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment