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:
laurentgom 2010-04-20 14:38:47 +00:00
parent 073e7864ef
commit 49983415cd

View File

@ -142,7 +142,7 @@ const sfImage* sfFont_GetImage(sfFont* font, unsigned int characterSize)
////////////////////////////////////////////////////////////
const sfFont* sfFont_GetDefaultFont()
{
static sfFont defaultFont = {sf::Font::GetDefaultFont()};
static sfFont defaultFont = {sf::Font::GetDefaultFont(), std::map<unsigned int, sfImage>()};
return &defaultFont;
}