- Don't copy data to null buffer, just return the string length in this case
authorGregor Schneider <grschneider@gmail.com>
Sat, 11 Apr 2009 21:24:25 +0000 (21:24 +0000)
committerGregor Schneider <grschneider@gmail.com>
Sat, 11 Apr 2009 21:24:25 +0000 (21:24 +0000)
commit72585aa30d2fa834985fb90a79497860dd67e506
tree31d89aab383dadb478a1c7d194162918f192d5f1
parent9e3589a7b1d651524df70e43db3076175ed402f1
- Don't copy data to null buffer, just return the string length in this case
- Fix some buffer calculation problems, handle buffer termination if it's shorter than the font string
- Fixes >= 10 gdi32 font winetests (NtGdiGetTextFaceW/NtGdiGetTextFaceA related)

svn path=/trunk/; revision=40469
reactos/subsystems/win32/win32k/objects/text.c