[Wine-patches] [eter-2.0.0] Revert "gdi32: Disable justification at all". (eterbug #8751)
Dmitry Timoshkov
dtimoshkov на etersoft.ru
Чт Окт 18 10:35:02 MSK 2012
This reverts commit c37037d854eb19c499fb5b034e5faf3664c1d626.
---
dlls/gdi32/font.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/dlls/gdi32/font.c b/dlls/gdi32/font.c
index 46b02f2..44743ff 100644
--- a/dlls/gdi32/font.c
+++ b/dlls/gdi32/font.c
@@ -891,9 +891,9 @@ BOOL WINAPI SetTextJustification( HDC hdc, INT extra, INT breaks )
{
BOOL ret;
PHYSDEV physdev;
- DC * dc;
- return TRUE;
- dc = get_dc_ptr( hdc );
+ DC * dc = get_dc_ptr( hdc );
+
+ if (!dc) return FALSE;
physdev = GET_DC_PHYSDEV( dc, pSetTextJustification );
ret = physdev->funcs->pSetTextJustification( physdev, extra, breaks );
--
1.7.12.3
Подробная информация о списке рассылки Wine-patches