From 86e3dcbc1e5b2fe07d89d6cde21f4b9e687962fa Mon Sep 17 00:00:00 2001 From: WBoerenkamps Date: Thu, 12 Dec 2024 21:49:39 +0100 Subject: fixed format --- src/crepe/facade/Font.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/crepe/facade/Font.cpp') diff --git a/src/crepe/facade/Font.cpp b/src/crepe/facade/Font.cpp index 85b0e13..a39af75 100644 --- a/src/crepe/facade/Font.cpp +++ b/src/crepe/facade/Font.cpp @@ -16,8 +16,7 @@ Font::Font(const Asset & src, Mediator & mediator) // Check if font loading failed if (!this->font) { - throw runtime_error(format("Failed to load font from path: {}" - ". SDL_ttf error: {}", + throw runtime_error(format("Failed to load font from path: {}. SDL_ttf error: {}", font_path, TTF_GetError())); } } -- cgit v1.2.3