[eter-2.1 1/5] gdi32: Fix copy/paste typo in get_char_positions_indices. (eterbug #8330)

Alexandre Julliard julliard на winehq.org
Вт Янв 22 15:13:19 MSK 2013


(cherry picked from commit f496a5a0e69ac21a45c9048131ef59469c45f8d7)
---
 dlls/gdi32/font.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/gdi32/font.c b/dlls/gdi32/font.c
index 029f9e5..6e0d1cd 100644
--- a/dlls/gdi32/font.c
+++ b/dlls/gdi32/font.c
@@ -366,7 +366,7 @@ static BOOL get_char_positions_indices( DC *dc, const WORD *indices, INT count,
     dev = GET_DC_PHYSDEV( dc, pGetTextMetrics );
     dev->funcs->pGetTextMetrics( dev, &tm );
 
-    dev = GET_DC_PHYSDEV( dc, pGetTextExtentExPoint );
+    dev = GET_DC_PHYSDEV( dc, pGetTextExtentExPointI );
     if (!dev->funcs->pGetTextExtentExPointI( dev, indices, count, dx )) return FALSE;
 
     if (dc->breakExtra || dc->breakRem)
-- 
1.8.0.2


--Multipart=_Fri__25_Jan_2013_13_48_45_+0800_z+GilKs+33r4uBY4--


Подробная информация о списке рассылки Wine-patches