From 2c754a6ec0494c3b14f940890f8beba8b4276b59 Mon Sep 17 00:00:00 2001 From: Warren Baird Date: Sat, 30 Aug 2003 00:13:34 +0000 Subject: [PATCH] Save the ext alignment information in a 8-bytes metarecord as it should be. --- dlls/gdi/mfdrv/dc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/gdi/mfdrv/dc.c b/dlls/gdi/mfdrv/dc.c index eb483f6ac0f..24fc4f01359 100644 --- a/dlls/gdi/mfdrv/dc.c +++ b/dlls/gdi/mfdrv/dc.c @@ -33,7 +33,7 @@ BOOL MFDRV_RestoreDC( PHYSDEV dev, INT level ) UINT MFDRV_SetTextAlign( PHYSDEV dev, UINT align ) { - return MFDRV_MetaParam1( dev, META_SETTEXTALIGN, (WORD)align); + return MFDRV_MetaParam2( dev, META_SETTEXTALIGN, HIWORD(align), LOWORD(align)); } INT MFDRV_SetBkMode( PHYSDEV dev, INT mode )