#include "messages.h"
Go to the source code of this file.
Functions | |
Message | ErrorWin (char **txt, bool fatal) |
|
Definition at line 15 of file errwin.c. References MessageWin().
00016 { 00017 char t[80]; 00018 if (fatal) 00019 strcpy (t, "Fatal Error"); 00020 else 00021 strcpy (t, "Error"); 00022 00023 Message m = MessageWin (RED, WHITE, t, YELLOW, txt, BLACK); 00024 if (fatal) 00025 exit (1); 00026 return m; 00027 } |