Fix alignment in MF test alignment

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





ChangeLog:

     Save the ext alignment information in a 8-bytes metarecord as it should be.

Description:

     Call MFDRV_MetaParam2 instead of MFDRV_MetaParam1 in MFDRV_SetTextAlign to
     save the text alignment record in a Windows metafile because that's
     the way it's done on Windows.

Warren Baird : Warren_Baird@cimmetry.com
Xavier Servettaz

diff -ur clean/wine/dlls/gdi/mfdrv/dc.c wine/dlls/gdi/mfdrv/dc.c
--- clean/wine/dlls/gdi/mfdrv/dc.c Wed Jan 29 15:30:25 2003
+++ wine/dlls/gdi/mfdrv/dc.c  Fri Jan 31 15:46:56 2003
@@ -33,7 +33,7 @@

 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 )




[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux