[PATCH 3/3] gdi32: Remove FONT_LogFont16ToW(); it was already duplicated in gdi16.c.
Michael Stefaniuc
mstefani at redhat.de
Mon Feb 18 16:26:26 CST 2008
---
This was a duplicate function and that sparked my whole gdi32 16bit
separation work.
dlls/gdi32/font.c | 19 -------------------
1 files changed, 0 insertions(+), 19 deletions(-)
diff --git a/dlls/gdi32/font.c b/dlls/gdi32/font.c
index 6fb6743..4339227 100644
--- a/dlls/gdi32/font.c
+++ b/dlls/gdi32/font.c
@@ -187,25 +187,6 @@ static void FONT_LogFontWTo16( const LOGFONTW* font32, LPLOGFONT16 font16 )
font16->lfFaceName[LF_FACESIZE-1] = 0;
}
-static void FONT_LogFont16ToW( const LOGFONT16 *font16, LPLOGFONTW font32 )
-{
- font32->lfHeight = font16->lfHeight;
- font32->lfWidth = font16->lfWidth;
- font32->lfEscapement = font16->lfEscapement;
- font32->lfOrientation = font16->lfOrientation;
- font32->lfWeight = font16->lfWeight;
- font32->lfItalic = font16->lfItalic;
- font32->lfUnderline = font16->lfUnderline;
- font32->lfStrikeOut = font16->lfStrikeOut;
- font32->lfCharSet = font16->lfCharSet;
- font32->lfOutPrecision = font16->lfOutPrecision;
- font32->lfClipPrecision = font16->lfClipPrecision;
- font32->lfQuality = font16->lfQuality;
- font32->lfPitchAndFamily = font16->lfPitchAndFamily;
- MultiByteToWideChar( CP_ACP, 0, font16->lfFaceName, -1, font32->lfFaceName, LF_FACESIZE );
- font32->lfFaceName[LF_FACESIZE-1] = 0;
-}
-
static void FONT_LogFontAToW( const LOGFONTA *fontA, LPLOGFONTW fontW )
{
memcpy(fontW, fontA, sizeof(LOGFONTA) - LF_FACESIZE);
--
1.5.4.1
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20080218/9f0a284c/attachment.pgp
More information about the wine-patches
mailing list