commit | 16bbb5340bab0923c1c9bbf4305d5cec3c198799 | [log] [tgz] |
---|---|---|
author | Francesco Pretto <ceztko@gmail.com> | Tue Oct 26 19:31:23 2021 +0200 |
committer | Akira TAGOH <akira@tagoh.org> | Mon Jan 31 07:52:09 2022 +0000 |
tree | 79a12787c4eadef4134b194aee1f28ff825565dd | |
parent | 8a150f634f093a9594482b99bd3433959c8cacaa [diff] |
WIN32: Fix pGetSystemWindowsDirectory found initialized during FcConfigParseAndLoadFromMemory Trying to early loading a custom fonts.xml created on the fly results in the pGetSystemWindowsDirectory function pointer being found intialized. Normally the initialization is performed in the default configuration loading. The commit factorizes the lazy initialization of both WIN32 getters (together with pSHGetFolderPathA) in a function and call it when actually needed.