summaryrefslogtreecommitdiffstats
path: root/src/char
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2023-10-18 15:02:48 (EDT)
committer P. J. McDermott <pj@pehjota.net>2023-10-18 15:02:48 (EDT)
commit093d80601165e8c751e9eaac2e7b3380d7d5ea06 (patch)
tree16068e1454c79cdc37e889bb79a1d6483051c1b1 /src/char
parent2dab74f526801a19e02a321a886e8a2c785d19dd (diff)
downloadmazefight-093d80601165e8c751e9eaac2e7b3380d7d5ea06.zip
mazefight-093d80601165e8c751e9eaac2e7b3380d7d5ea06.tar.gz
mazefight-093d80601165e8c751e9eaac2e7b3380d7d5ea06.tar.bz2
char/char: Fix error messages
Diffstat (limited to 'src/char')
-rw-r--r--src/char/char.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/char/char.c b/src/char/char.c
index 0ab7145..94374bd 100644
--- a/src/char/char.c
+++ b/src/char/char.c
@@ -192,7 +192,7 @@ mf_char_render(struct mf_char *c, SDL_Renderer *renderer)
do { \
if (SDL_RenderDrawPoint(renderer, cx + X, cy + Y) < 0) { \
SDL_LogError(SDL_LOG_CATEGORY_APPLICATION, \
- "Couldn't render widget: %s", \
+ "Couldn't render character: %s", \
SDL_GetError()); \
e = -1; \
} \
@@ -237,7 +237,7 @@ mf_char_render(struct mf_char *c, SDL_Renderer *renderer)
if (SDL_RenderDrawPoint(renderer, cx + fx + X, cy + oy + Y) \
< 0) { \
SDL_LogError(SDL_LOG_CATEGORY_APPLICATION, \
- "Couldn't render widget: %s", \
+ "Couldn't render character: %s", \
SDL_GetError()); \
e = -1; \
} \
@@ -279,8 +279,8 @@ mf_char_render(struct mf_char *c, SDL_Renderer *renderer)
cx + fx - ox + X, cy - oy + Y) \
< 0) { \
SDL_LogError(SDL_LOG_CATEGORY_APPLICATION, \
- "Couldn't render widget: %s", \
- SDL_GetError()); \
+ "Couldn't render character: %s"\
+ , SDL_GetError()); \
e = -1; \
} \
} \
@@ -291,8 +291,8 @@ mf_char_render(struct mf_char *c, SDL_Renderer *renderer)
cx + fx + ox + X, cy - oy + Y) \
< 0) { \
SDL_LogError(SDL_LOG_CATEGORY_APPLICATION, \
- "Couldn't render widget: %s", \
- SDL_GetError()); \
+ "Couldn't render character: %s"\
+ , SDL_GetError()); \
e = -1; \
} \
} \