Fix return type to match upstream API

This commit is contained in:
Dmitry Marakasov 2015-09-17 15:21:07 +03:00
parent 9ecd4a12fe
commit adaecc22cf
2 changed files with 2 additions and 2 deletions

View File

@ -118,7 +118,7 @@ int Font::GetLineSkip() const {
return TTF_FontLineSkip(font_); return TTF_FontLineSkip(font_);
} }
int Font::GetNumFaces() const { long Font::GetNumFaces() const {
return TTF_FontFaces(font_); return TTF_FontFaces(font_);
} }

View File

@ -362,7 +362,7 @@ public:
/// \see https://www.libsdl.org/projects/SDL_ttf/docs/SDL_ttf.html#SEC33 /// \see https://www.libsdl.org/projects/SDL_ttf/docs/SDL_ttf.html#SEC33
/// ///
//////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////
int GetNumFaces() const; long GetNumFaces() const;
//////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////
/// \brief Test if the current font face of the loaded font is a fixed width font /// \brief Test if the current font face of the loaded font is a fixed width font