Fixed a minor warning in Font.cpp in CSFML
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1512 4e206d99-4929-0410-ac5d-dfc041789085
This commit is contained in:
parent
073e7864ef
commit
49983415cd
@ -142,7 +142,7 @@ const sfImage* sfFont_GetImage(sfFont* font, unsigned int characterSize)
|
|||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
const sfFont* sfFont_GetDefaultFont()
|
const sfFont* sfFont_GetDefaultFont()
|
||||||
{
|
{
|
||||||
static sfFont defaultFont = {sf::Font::GetDefaultFont()};
|
static sfFont defaultFont = {sf::Font::GetDefaultFont(), std::map<unsigned int, sfImage>()};
|
||||||
|
|
||||||
return &defaultFont;
|
return &defaultFont;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user