Author: jimtabor
Date: Thu Dec 24 08:03:46 2009
New Revision: 44751
URL:
http://svn.reactos.org/svn/reactos?rev=44751&view=rev
Log:
[gdi32]
- Set the last arg to 1 for GetTextExtentPoint support mode.
Modified:
trunk/reactos/dll/win32/gdi32/objects/text.c
Modified: trunk/reactos/dll/win32/gdi32/objects/text.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/gdi32/objects/te…
==============================================================================
--- trunk/reactos/dll/win32/gdi32/objects/text.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/gdi32/objects/text.c [iso-8859-1] Thu Dec 24 08:03:46 2009
@@ -173,7 +173,7 @@
LPSIZE lpSize
)
{
- return NtGdiGetTextExtent(hdc, (LPWSTR)lpString, cchString, lpSize, 0);
+ return NtGdiGetTextExtent(hdc, (LPWSTR)lpString, cchString, lpSize, 1);
}