unsigned char Error = tgi_geterror ();
if (Error != TGI_ERR_OK) {
printf ("%s: %d\n", S, Error);
+ if (doesclrscrafterexit ()) {
+ cgetc ();
+ }
exit (EXIT_FAILURE);
}
}
+#if DYN_DRV
static void DoWarning (void)
-/* Warn the user that the TGI driver is needed for this program */
+/* Warn the user that the dynamic TGI driver is needed for this program */
{
printf ("Warning: This program needs the TGI\n"
"driver on disk! Press 'y' if you have\n"
if (tolower (cgetc ()) != 'y') {
exit (EXIT_SUCCESS);
}
- printf ("Ok. Please wait patiently...\n");
+ printf ("OK. Please wait patiently...\n");
}
+#endif