Fix indent-related compiler warning (#3)

This commit is contained in:
Splendide Imaginarius 2023-05-09 01:14:54 +00:00 committed by GitHub
parent ed9eb335fa
commit b5b250e97e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -160,10 +160,9 @@ void SharedFontState::initFontSetCB(SDL_RWops &ops,
_TTF_Font *SharedFontState::getFont(std::string family,
int size)
{
if (family.empty())
family = p->defaultFamily;
if (family.empty())
family = p->defaultFamily;
/* Check for substitutions */
if (p->subs.contains(family))
family = p->subs[family];