From c2e4ffc4f71622208437bb05f9d87b054d004cd5 Mon Sep 17 00:00:00 2001
From: Christophe Geuzaine <cgeuzaine@ulg.ac.be>
Date: Fri, 12 Jan 2001 00:43:05 +0000
Subject: [PATCH] *** empty log message ***

---
 Fltk/Callbacks.cpp |  5 ++++-
 Fltk/Message.cpp   | 19 ++++++++++++-------
 2 files changed, 16 insertions(+), 8 deletions(-)

diff --git a/Fltk/Callbacks.cpp b/Fltk/Callbacks.cpp
index 4b9064b939..703ff22fcd 100644
--- a/Fltk/Callbacks.cpp
+++ b/Fltk/Callbacks.cpp
@@ -1,4 +1,4 @@
-// $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 "GmshUI.h"
@@ -1581,6 +1581,9 @@ void view_options_vector_displacement_cb(CALLBACK_ARGS){
   ENDVIEWMOD
 }
 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){
   STARTVIEWMOD
diff --git a/Fltk/Message.cpp b/Fltk/Message.cpp
index 0d740dabeb..d67c28427f 100644
--- a/Fltk/Message.cpp
+++ b/Fltk/Message.cpp
@@ -1,4 +1,4 @@
-// $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>
 #ifndef WIN32
@@ -22,11 +22,11 @@ void Signal (int sig_num){
 
   switch (sig_num){
   case SIGSEGV : 
-    Msg(FATAL, "Segmentation Violation (Invalid Memory Reference)\n"
-        "------------------------------------------------------\n"
-        "You have discovered a bug in Gmsh. You may e-mail the\n"
-        "context in which it occurred to one of the authors:\n"
-        "type 'gmsh -info' to get feedback information"); 
+    Msg(FATAL1, "Segmentation Violation (Invalid Memory Reference)");
+    Msg(FATAL2, "------------------------------------------------------");
+    Msg(FATAL2, "You have discovered a bug in Gmsh. You may e-mail the");
+    Msg(FATAL2, "context in which it occurred to one of the authors:");
+    Msg(FATAL3, "type 'gmsh -info' to get feedback information"); 
     break;
   case SIGFPE : 
     Msg(FATAL, "Floating Point Exception (Division by Zero?)"); 
@@ -153,7 +153,12 @@ void Msg(int level, char *fmt, ...){
 
   va_end (args);
 
-  if(abort) exit(1);
+  if(!verb) WID->create_message_window();
+
+  if(abort){
+    WID->save_message("error.log");
+    exit(1);
+  }
 }
 
 
-- 
GitLab