diff options
author | WBoerenkamps <wrj.boerenkamps@student.avans.nl> | 2024-12-12 21:49:39 +0100 |
---|---|---|
committer | WBoerenkamps <wrj.boerenkamps@student.avans.nl> | 2024-12-12 21:49:39 +0100 |
commit | 86e3dcbc1e5b2fe07d89d6cde21f4b9e687962fa (patch) | |
tree | b623c6c3a4171f16f210efa87ece0510d0926ef7 | |
parent | 55329845de3aceef8b3672779f3930cee18e2298 (diff) |
fixed format
-rw-r--r-- | src/crepe/facade/Font.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
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())); } } |