Trying to get it to build without Pango.
This commit is contained in:
parent
2697ff0015
commit
6e6ee1f8a3
2 changed files with 3 additions and 0 deletions
|
|
@ -235,6 +235,7 @@ TuxPaint_Font *load_locale_font(TuxPaint_Font * fallback, int size)
|
|||
}
|
||||
#endif
|
||||
|
||||
#ifndef NO_SDLPANGO
|
||||
if (!ret)
|
||||
{
|
||||
ret = try_alternate_font(size);
|
||||
|
|
@ -254,6 +255,7 @@ TuxPaint_Font *load_locale_font(TuxPaint_Font * fallback, int size)
|
|||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
return ret ? ret : fallback;
|
||||
}
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue