From 9da87b6829205774ab08d46253ae5ca39723ef5e Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Thu, 05 Aug 2021 19:49:49 -0400 Subject: tk: Fix label error message --- (limited to 'src/tk') 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) { -- cgit v0.9.1