summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/maze.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/maze.c b/src/maze.c
index a59b4e9..f1999e0 100644
--- a/src/maze.c
+++ b/src/maze.c
@@ -244,7 +244,7 @@ _mf_maze_draw_line(SDL_Renderer *renderer, int x, int y, int w, int h, int cw)
rect.h = h * cw + 2;
if (SDL_RenderFillRect(renderer, &rect) < 0) {
SDL_LogError(SDL_LOG_CATEGORY_APPLICATION,
- "Couldn't draw line: %s", SDL_GetError());
+ "Couldn't render maze: %s", SDL_GetError());
return -1;
}
@@ -263,8 +263,7 @@ mf_maze_render(struct mf_maze *m, SDL_Renderer *r, SDL_Color *color, int cw)
if (SDL_SetRenderDrawColor(r,
color->r, color->g, color->b, color->a) < 0) {
SDL_LogError(SDL_LOG_CATEGORY_APPLICATION,
- "Couldn't set drawing color: %s",
- SDL_GetError());
+ "Couldn't render maze: %s", SDL_GetError());
e = -1;
}