[Wine-patches] gdi32: Hack for 1C (eterbug #2168).

Alexander Morozov =?iso-8859-1?q?amorozov_=CE=C1_etersoft=2Eru?=
Ср Окт 15 15:23:55 MSD 2008


----------- следующая часть -----------
From 8468f46c7773bf2897e6301550ab21789ef5cdc9 Mon Sep 17 00:00:00 2001
From: Alexander Morozov <amorozov на etersoft.ru>
Date: Wed, 15 Oct 2008 15:18:37 +0400
Subject: [PATCH] gdi32: Hack for 1C (eterbug #2168).

---
 dlls/gdi32/font.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/dlls/gdi32/font.c b/dlls/gdi32/font.c
index 5b86da9..e32c6d3 100644
--- a/dlls/gdi32/font.c
+++ b/dlls/gdi32/font.c
@@ -1137,6 +1137,9 @@ BOOL WINAPI GetTextExtentExPointW( HDC hdc, LPCWSTR str, INT count,
 
     release_dc_ptr( dc );
 
+    /* HACK for 1C (eterbug #2168) */
+    size->cx += 2;
+
     TRACE("returning %d %d x %d\n",nFit,size->cx,size->cy);
     return ret;
 }
-- 
1.5.6.5.GIT



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