Max wrote:
Here the X11DRV_SetDIBitsToDevice patch from P.Christeas that solves bug 720 - Misplaced graphics in AutoCAD R14, with some minor cleanup by me.
Regards
Max
Index: graphics/x11drv/dib.c
RCS file: /home/wine/wine/graphics/x11drv/dib.c,v retrieving revision 1.97 diff -r1.97 dib.c 4736a4737,4741
/* Changelog : 28.06.2002 : CLEANUP : cy == oldcy everytimes, of no use !!! I guess must be something wrong also with 'lines' declared as UINT but used as signed near end of function ( -lines), but not sure.....
4737a4743,4744
*/ DWORD width ;
4739a4747
4796a4805
4801a4811,4814
/* Changelog : 20.06.2002 patch from P. Christeas with a minor cleanup by me : solves bug 720
4803c4816,4819
< : ySrc - startscan;
: ySrc - startscan;
*/ descr.ySrc = lines-(ySrc-startscan)-cy ;
4804a4821,4823
/* Changelog : 28.06.2002 : CLEANUP : cy == oldcy everytimes, so it's useless to add (oldcy - cy) !!!!
4805a4825,4827
*/ descr.yDest = physDev->org.y + pt.y ;
Please resubmit this patch in diff -u format (+-)
Tony Lambregts