Trying to get it to build without Pango.

This commit is contained in:
William Kendrick 2010-02-02 23:40:53 +00:00
parent 2697ff0015
commit 6e6ee1f8a3
2 changed files with 3 additions and 0 deletions

View file

@ -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