Skip to content

Commit

Permalink
Fix compile warning
Browse files Browse the repository at this point in the history
  • Loading branch information
sharkwouter committed Aug 18, 2024
1 parent 3d4cf05 commit 2b55dbc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/FontManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ SDL_Texture * FontManager::getTexture(SDL_Renderer *renderer, std::string text,
reload();
}

TTF_Font * current_font;
TTF_Font * current_font = NULL;
switch (font_type)
{
case FontType::NORMAL:
Expand Down

0 comments on commit 2b55dbc

Please sign in to comment.