`data` array has size of `MAX_BUFFER` like `wname`, but it has a char type, so its size is twice smaller than actual path limit, because paths returned by `RegEnumValueW` use wide chars. We need to double this limit.
------------- Commit messages: - 8305667: Some fonts installed in user directory are not detected on Windows Changes: https://git.openjdk.org/jdk/pull/13359/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=13359&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8305667 Stats: 8 lines in 1 file changed: 1 ins; 0 del; 7 mod Patch: https://git.openjdk.org/jdk/pull/13359.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/13359/head:pull/13359 PR: https://git.openjdk.org/jdk/pull/13359