summaryrefslogtreecommitdiff
path: root/doc/fcinit.fncs
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@behdad.org>2015-06-26 17:02:13 -0700
committerBehdad Esfahbod <behdad@behdad.org>2015-06-26 17:02:13 -0700
commit46ec6a52d4cc447cc3ff4a13b2067ecb76c9db2e (patch)
treec4b202cddf5a71eafd3f1cbe6dc5fc98ad7451fc /doc/fcinit.fncs
parenta8096dfa5965bfb1953fe829ff13eea23b4233c7 (diff)
Revert changes made to FcConfigAppFontAddDir() recently
In 32ac7c75e8db0135ef37cf86f92d8b9be000c8bb the behavior of FcConfigAppFontAddFile/Dir() were changed to return false if not fonts were found. While this is welldefined and useful for AddFile(), it's quite problematic for AddDir(). For example, if the directory is empty, is that a failure or success? Worse, the false value from AddDir() was being propagated all the way to FcInit() returning false now. This only happened upon memory allocation failure before, and some clients assert that FcInit() is successful. With this change, AddDir() is reverted back to what it was. AddFont() change (which was actually in fcdir.c) from the original commit is left in.
Diffstat (limited to 'doc/fcinit.fncs')
0 files changed, 0 insertions, 0 deletions