[android] searching for fonts in WritableDir

This commit is contained in:
rachytski 2012-05-12 20:37:53 +04:00 committed by Alex Zolotarev
parent e17d25ab7c
commit 4e453342fe

View file

@ -108,7 +108,8 @@ string Platform::DeviceName() const
void Platform::GetFontNames(FilesList & res) const
{
GetFilesInDir(ResourcesDir(), "*.ttf", res);
LOG(LINFO, ("searching for font in", WritableDir()));
GetFilesInDir(WritableDir(), "*.ttf", res);
sort(res.begin(), res.end());
}