Fix broken android build

git-svn-id: http://skia.googlecode.com/svn/trunk@3404 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
djsollen@google.com 2012-03-15 16:04:27 +00:00
parent ff029606bd
commit b8ff633dba

View File

@ -552,7 +552,7 @@ static void load_system_fonts() {
// SkDebugf("---- SkTypeface[%d] %s fontID %d\n", i, rec[i].fFileName, tf->uniqueID());
FallbackScripts fallbackScript = SkGetScriptFromFileName(rec[i].fFileName);
FallbackScripts fallbackScript = SkGetFallbackScriptFromID(rec[i].fFileName);
if (SkTypeface_ValidScript(fallbackScript)) {
gFallbackScriptsMap[fallbackScript] = tf->uniqueID();
}