SDLPP: formatting, make compileable on Linux
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
#include "sdlpp_font.hpp"
|
||||
|
||||
namespace SDLPP {
|
||||
Font::Font( const std::string &font ) : font_path(font) {}
|
||||
Font::Font( const std::string &font, int size ) : Font(font) {
|
||||
Font::Font( const std::string &font ) : font_path( font ) {}
|
||||
Font::Font( const std::string &font, int size ) : Font( font ) {
|
||||
original_size = size;
|
||||
font_ptr = TTF_OpenFont( font_path.c_str(), size );
|
||||
checkFont();
|
||||
|
||||
Reference in New Issue
Block a user