Index: brush.h =================================================================== --- win32ss/gdi/ntgdi/brush.h (revision 74481) +++ win32ss/gdi/ntgdi/brush.h (working copy) @@ -33,7 +33,7 @@ /* The following members are for PENs only */ LONG lWidth; - FLOAT eWidth; + FLOATOBJ eWidth; ULONG ulPenStyle; DWORD *pStyle; ULONG dwStyleCount; Index: pen.c =================================================================== --- win32ss/gdi/ntgdi/pen.c (revision 74481) +++ win32ss/gdi/ntgdi/pen.c (working copy) @@ -122,7 +122,7 @@ dwWidth = 1; pbrushPen->lWidth = dwWidth; - pbrushPen->eWidth = (FLOAT)pbrushPen->lWidth; + FLOATOBJ_SetLong(&pbrushPen->eWidth, pbrushPen->lWidth); pbrushPen->ulPenStyle = dwPenStyle; pbrushPen->BrushAttr.lbColor = ulColor; pbrushPen->iBrushStyle = ulBrushStyle; Index: stockobj.c =================================================================== --- win32ss/gdi/ntgdi/stockobj.c (revision 74481) +++ win32ss/gdi/ntgdi/stockobj.c (working copy) @@ -116,7 +116,7 @@ pbrushPen->iHatch = 0; pbrushPen->lWidth = abs(dwWidth); - pbrushPen->eWidth = (FLOAT)pbrushPen->lWidth; + FLOATOBJ_SetLong(&pbrushPen->eWidth, pbrushPen->lWidth); pbrushPen->ulPenStyle = dwPenStyle; pbrushPen->BrushAttr.lbColor = ulColor; pbrushPen->iBrushStyle = ulBrushStyle;