libansilove

Library for converting ANSI, ASCII, and other formats to PNG
Log | Files | Refs | README | LICENSE

commit 7e7535909f43acea657c9f645507eae56444b3fa
parent f26fc46dbd1b5f5b31977f37baf7f624a693cab4
Author: Frederic Cambus <fred@statdns.com>
Date:   Thu, 25 Oct 2018 22:18:55 +0200

Reformat error codes

Diffstat:
Minclude/ansilove.h | 13+++++++------
1 file changed, 7 insertions(+), 6 deletions(-)

diff --git a/include/ansilove.h b/include/ansilove.h @@ -18,12 +18,13 @@ #define ANSILOVE_VERSION "1.0.0" -#define ANSILOVE_INVALID_PARAM 1 -#define ANSILOVE_FORMAT_ERROR 2 -#define ANSILOVE_MEMORY_ERROR 3 -#define ANSILOVE_FILE_READ_ERROR 4 -#define ANSILOVE_FILE_WRITE_ERROR 5 -#define ANSILOVE_GD_ERROR 6 +/* Error codes */ +#define ANSILOVE_INVALID_PARAM 1 +#define ANSILOVE_FORMAT_ERROR 2 +#define ANSILOVE_MEMORY_ERROR 3 +#define ANSILOVE_FILE_READ_ERROR 4 +#define ANSILOVE_FILE_WRITE_ERROR 5 +#define ANSILOVE_GD_ERROR 6 /* PC Fonts */ #define ANSILOVE_FONT_CP437 1 /* IBM PC 80x25 */