# HG changeset patch # User bsmith@81767d24-ef19-dc11-ae90-00e081727c95 # Date 1319523719 0 # Node ID 3cbd8de0b50b109cb53827ef79aba86b3ebf6140 # Parent 2d2b945ee0bf262cb82981ca4dd3360269a5eaba Fixed dw_draw_polygon on OS/2 not flipping the Y coordinates. diff -r 2d2b945ee0bf -r 3cbd8de0b50b os2/dw.c --- a/os2/dw.c Tue Oct 25 06:13:36 2011 +0000 +++ b/os2/dw.c Tue Oct 25 06:21:59 2011 +0000 @@ -8598,7 +8598,7 @@ * Move to the first point of the polygon */ start.x = x[0]; - start.y = y[0]; + start.y = thisheight - y[0] - 1; GpiMove( hps, &start ); /* * Convert the remainder of the x and y points @@ -8606,7 +8606,7 @@ for ( i = 1; i < npoints; i++ ) { pptl[i-1].x = x[i]; - pptl[i-1].y = y[i]; + pptl[i-1].y = thisheight - y[i] - 1; } GpiPolyLine( hps, npoints-1, pptl );