]> git.sur5r.net Git - cc65/commitdiff
added ExitTurbo before showing DlgBox - this allows for safe recover after ActionRepl...
authorizydorst <izydorst@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Fri, 2 Jan 2004 23:28:00 +0000 (23:28 +0000)
committerizydorst <izydorst@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Fri, 2 Jan 2004 23:28:00 +0000 (23:28 +0000)
git-svn-id: svn://svn.cc65.org/cc65/trunk@2865 b7a2c559-68d2-44c3-8de9-860c34a00d81

libsrc/geos/common/_afailed.c
libsrc/geos/common/_poserror.c
libsrc/geos/common/abort.c
libsrc/geos/common/perror.c

index 1d42d5ba6e0ad1e37b1c250734144ef560fd9dca..10da48d0ead9995e3073e65b7efa217cbbc44f45 100644 (file)
@@ -11,6 +11,8 @@
 void _afailed (char* file, unsigned line)
 {
 
+    ExitTurbo();
+
     drawWindow.top = 0;
     drawWindow.left = 0;
     drawWindow.bot = 15;
index d81826e604ad6e6731130127124402af60196a67..0dc6f99d8fb20a9a6cedde473946c48f11b747b2 100644 (file)
@@ -13,6 +13,7 @@ void __fastcall__ _poserror (const char* msg)
 {
     const char *errmsg = _stroserror(_oserror);
 
+    ExitTurbo();
     if (msg && *msg) {
        DlgBoxOk(msg, errmsg);
     } else {
index fb52f88e16164640ec16573f021fdd26b08929d3..3db62f03b66cb2bd0a01ee0eb8d72f4fcaad6e79 100644 (file)
@@ -11,6 +11,7 @@
 
 void abort (void)
 {
+    ExitTurbo();
     DlgBoxOk(CBOLDON "ABNORMAL PROGRAM", "TERMINATION." CPLAINTEXT);
     exit(3);
 }
index d3ec6739ce6fe93e0b523749a4a93025459a6f03..6b3ed3c642d8403ff7d7554b47e7c5431c5baa32 100644 (file)
@@ -13,6 +13,7 @@ void __fastcall__ perror(const char* msg)
 {
     const char *errmsg = strerror(errno);
 
+    ExitTurbo();
     if (msg && *msg) {
        DlgBoxOk(msg, errmsg);
     } else {