mirror of
https://github.com/libSDL2pp/libSDL2pp.git
synced 2025-08-04 03:15:59 -04:00
Fix return type to match upstream API
This commit is contained in:
parent
9ecd4a12fe
commit
adaecc22cf
@ -118,7 +118,7 @@ int Font::GetLineSkip() const {
|
||||
return TTF_FontLineSkip(font_);
|
||||
}
|
||||
|
||||
int Font::GetNumFaces() const {
|
||||
long Font::GetNumFaces() const {
|
||||
return TTF_FontFaces(font_);
|
||||
}
|
||||
|
||||
|
@ -362,7 +362,7 @@ public:
|
||||
/// \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
|
||||
|
Loading…
x
Reference in New Issue
Block a user