mirror of
https://github.com/jonthysell/MacLO.git
synced 2024-06-25 16:29:53 +00:00
16 lines
332 B
C
16 lines
332 B
C
// Copyright (c) Jon Thysell <http://jonthysell.com>
|
|
// Licensed under the MIT License.
|
|
|
|
#include "MacCommon.h"
|
|
|
|
void ShowError(Str255 message, Boolean isFatal)
|
|
{
|
|
ParamText(message, EmptyString, EmptyString, EmptyString);
|
|
StopAlert(ErrorAlertResID, NilFilterProc);
|
|
|
|
if (isFatal)
|
|
{
|
|
ExitToShell();
|
|
}
|
|
}
|