fix calculation of cwc parameter for NtGdiGetFontResourceInfoInternalW.

svn path=/trunk/; revision=32806
This commit is contained in:
Timo Kreuzer 2008-04-01 16:57:17 +00:00
parent 0239f0d555
commit d8af502747

View file

@ -428,7 +428,7 @@ GetFontResourceInfoW(
bRet = NtGdiGetFontResourceInfoInternalW(
NtFileName.Buffer,
NtFileName.Length,
(NtFileName.Length / sizeof(WCHAR)) + 1,
1,
*pdwBufSize,
pdwBufSize,