Skip to content

Commit c01dd76

Browse files
BurningEnlightenmentbinary1248
authored andcommitted
Fix sfg::ResourceManager::SetDefaultFont() assigning the new font to the wrong identifier.
SetDefaultFont wasn't updated with c15bcc1.
1 parent 00f943d commit c01dd76

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/SFGUI/ResourceManager.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ void ResourceManager::AddImage( const std::string& path, std::shared_ptr<const s
183183
}
184184

185185
void ResourceManager::SetDefaultFont( std::shared_ptr<const sf::Font> font ) {
186-
AddFont( "", font );
186+
AddFont( "Default", font );
187187
}
188188

189189
}

0 commit comments

Comments
 (0)