Silence the harmless FreeFontPath error message.

This commit is contained in:
Adam Jackson 2008-02-01 15:03:57 +11:00
parent 7c0709a736
commit 9113fa3de3

View File

@ -1644,9 +1644,6 @@ FreeFontPath(FontPathElementPtr *list, int n, Bool force)
found++;
}
if (list[i]->refcount != found) {
ErrorF("FreeFontPath: FPE \"%.*s\" refcount is %d, should be %d; fixing.\n",
list[i]->name_length, list[i]->name,
list[i]->refcount, found);
list[i]->refcount = found; /* ensure it will get freed */
}
}