summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/tk/label.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tk/label.c b/src/tk/label.c
index 1fcfd84..ffade82 100644
--- a/src/tk/label.c
+++ b/src/tk/label.c
@@ -116,7 +116,7 @@ mftk_label_new(TTF_Font *font, const char *text, SDL_Color *color,
NULL) < 0) {
SDL_LogError(SDL_LOG_CATEGORY_APPLICATION,
"Couldn't get glyph metrics: %s",
- SDL_GetError());
+ TTF_GetError());
continue;
}
if (glyph_max_y > max_y) {