mirror of
https://github.com/cc65/cc65.git
synced 2024-12-25 02:29:52 +00:00
0390c34e88
The left side doesn't look unbalanced.
23 lines
367 B
C
23 lines
367 B
C
/*
|
|
** _poserror.c
|
|
**
|
|
** Maciej 'YTM/Elysium' Witkowiak, 25.04.2003
|
|
*/
|
|
|
|
#include <stdio.h>
|
|
#include <string.h>
|
|
#include <errno.h>
|
|
#include <geos.h>
|
|
|
|
void __fastcall__ _poserror (const char* msg)
|
|
{
|
|
const char *errmsg = _stroserror(_oserror);
|
|
|
|
ExitTurbo();
|
|
if (msg && *msg) {
|
|
DlgBoxOk(msg, errmsg);
|
|
} else {
|
|
DlgBoxOk("", errmsg);
|
|
}
|
|
}
|