[gdi32]
authorJames Tabor <james.tabor@reactos.org>
Thu, 24 Dec 2009 07:03:46 +0000 (07:03 +0000)
committerJames Tabor <james.tabor@reactos.org>
Thu, 24 Dec 2009 07:03:46 +0000 (07:03 +0000)
- Set the last arg to 1 for GetTextExtentPoint support mode.

svn path=/trunk/; revision=44751

reactos/dll/win32/gdi32/objects/text.c

index 2e2306b..e524571 100644 (file)
@@ -173,7 +173,7 @@ GetTextExtentPointW(
        LPSIZE          lpSize
        )
 {
-  return NtGdiGetTextExtent(hdc, (LPWSTR)lpString, cchString, lpSize, 0);
+  return NtGdiGetTextExtent(hdc, (LPWSTR)lpString, cchString, lpSize, 1);
 }