From 6752baabc1833f7fab74d29dcc224d25fa248802 Mon Sep 17 00:00:00 2001 From: Dmitry Marakasov Date: Wed, 8 Jul 2015 18:02:07 +0300 Subject: [PATCH] Don't specify default font size, it doesn't make sense --- SDL2pp/Font.hh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SDL2pp/Font.hh b/SDL2pp/Font.hh index 0ebb48a..bda5456 100644 --- a/SDL2pp/Font.hh +++ b/SDL2pp/Font.hh @@ -70,7 +70,7 @@ public: /// \see https://www.libsdl.org/projects/SDL_ttf/docs/SDL_ttf.html#SEC16 /// //////////////////////////////////////////////////////////// - Font(const std::string& file, int ptsize = 0, long index = 0); + Font(const std::string& file, int ptsize, long index = 0); //////////////////////////////////////////////////////////// /// \brief Loads font with RWops @@ -85,7 +85,7 @@ public: /// \see https://www.libsdl.org/projects/SDL_ttf/docs/SDL_ttf.html#SEC17 /// //////////////////////////////////////////////////////////// - Font(RWops& rwops, int ptsize = 0, long index = 0); + Font(RWops& rwops, int ptsize, long index = 0); //////////////////////////////////////////////////////////// /// \brief Destructor