libansilove

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

commit 62beac9d3806845e1e7c59a798e67fff46669428
parent 13545110bf9cd842a63b2014550565e1418b6a0a
Author: Frederic Cambus <fred@statdns.com>
Date:   Thu, 19 Dec 2019 15:43:54 +0100

Rename the alSelectFont() function to select_font().

Diffstat:
Msrc/fonts.c | 2+-
Msrc/fonts.h | 2+-
Msrc/loaders/ansi.c | 2+-
Msrc/loaders/binary.c | 2+-
Msrc/loaders/pcboard.c | 2+-
Msrc/loaders/tundra.c | 2+-
6 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/src/fonts.c b/src/fonts.c @@ -39,7 +39,7 @@ #include "fonts/font_amiga_topaz_500_plus.h" void -alSelectFont(struct fontStruct *fontData, int font) +select_font(struct fontStruct *fontData, int font) { switch (font) { case ANSILOVE_FONT_CP437_80x50: diff --git a/src/fonts.h b/src/fonts.h @@ -23,7 +23,7 @@ struct fontStruct { bool isAmigaFont; }; -void alSelectFont(struct fontStruct *fontData, int font); +void select_font(struct fontStruct *fontData, int font); extern const uint8_t font_pc_80x25[4096]; extern const uint8_t font_pc_80x50[2048]; diff --git a/src/loaders/ansi.c b/src/loaders/ansi.c @@ -72,7 +72,7 @@ ansilove_ansi(struct ansilove_ctx *ctx, struct ansilove_options *options) const char *errstr; /* font selection */ - alSelectFont(&fontData, options->font); + select_font(&fontData, options->font); switch (options->mode) { case ANSILOVE_MODE_CED: diff --git a/src/loaders/binary.c b/src/loaders/binary.c @@ -32,7 +32,7 @@ ansilove_binary(struct ansilove_ctx *ctx, struct ansilove_options *options) struct fontStruct fontData; /* font selection */ - alSelectFont(&fontData, options->font); + select_font(&fontData, options->font); /* libgd image pointers */ gdImagePtr canvas; diff --git a/src/loaders/pcboard.c b/src/loaders/pcboard.c @@ -47,7 +47,7 @@ ansilove_pcboard(struct ansilove_ctx *ctx, struct ansilove_options *options) size_t loop = 0, structIndex = 0; /* font selection */ - alSelectFont(&fontData, options->font); + select_font(&fontData, options->font); /* libgd image pointers */ gdImagePtr canvas; diff --git a/src/loaders/tundra.c b/src/loaders/tundra.c @@ -51,7 +51,7 @@ ansilove_tundra(struct ansilove_ctx *ctx, struct ansilove_options *options) int16_t columns = options->columns; /* font selection */ - alSelectFont(&fontData, options->font); + select_font(&fontData, options->font); /* libgd image pointers */ gdImagePtr canvas;