mirror of
https://github.com/mkxp-z/mkxp-z.git
synced 2025-09-10 12:02:53 +02:00
Fix indent-related compiler warning (#3)
This commit is contained in:
parent
ed9eb335fa
commit
b5b250e97e
1 changed files with 3 additions and 4 deletions
|
@ -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];
|
||||
|
|
Loading…
Add table
Reference in a new issue