# HG changeset patch # User bsmith@81767d24-ef19-dc11-ae90-00e081727c95 # Date 1319545989 0 # Node ID 148daf522080f1cc51cdbcd29ccb8fd983e70680 # Parent 87e0969d13bc8b54f9c63b58bee6f66e8a3e6569 Fixed on Windows sqrt() issue due to missing header... Also swapped points to work like other platforms. diff -r 87e0969d13bc -r 148daf522080 win/dw.c --- a/win/dw.c Tue Oct 25 12:12:21 2011 +0000 +++ b/win/dw.c Tue Oct 25 12:33:09 2011 +0000 @@ -19,6 +19,7 @@ #include #include #include +#include #include "dw.h" #include "XBrowseForFolder.h" @@ -8845,7 +8846,7 @@ oldBrush = SelectObject( hdcPaint, TlsGetValue(_hBrush) ); oldPen = SelectObject( hdcPaint, TlsGetValue(_hPen) ); - Arc(hdcPaint, xorigin-r, yorigin-r, xorigin+r, yorigin+r, x1, y1, x2, y2); + Arc(hdcPaint, xorigin-r, yorigin-r, xorigin+r, yorigin+r, x2, y2, x1, y1); SelectObject( hdcPaint, oldBrush ); SelectObject( hdcPaint, oldPen );