--- trunk/mdtools/interface_implementation/Globals.cpp 2002/10/11 15:09:09 134 +++ trunk/mdtools/interface_implementation/Globals.cpp 2002/10/30 22:38:22 160 @@ -3,6 +3,7 @@ #include #include "Globals.hpp" +#include "simError.h" /* * The following section lists all of the defined tokens for the @@ -793,9 +794,10 @@ int Globals::hash( char* text ){ // if the key is less than zero, we've had an overflow error - fprintf( stderr, + sprintf( painCave.errMsg, "There has been an overflow error in the Globals' hash key."); - exit(0); + painCave.isFatal = 1; + simError(); } return key;