mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 17:34:57 +00:00
[SHELL32]
Fix a bug I introduced in r55498 Spotted by Thomas svn path=/trunk/; revision=55506
This commit is contained in:
parent
54bd4f5cc8
commit
2adafb93b0
1 changed files with 1 additions and 1 deletions
|
@ -243,7 +243,7 @@ CDrvDefExt::PaintStaticControls(HWND hwndDlg, LPDRAWITEMSTRUCT pDrawItem)
|
|||
SelectObject(pDrawItem->hDC, hDarkMagPen);
|
||||
|
||||
double cos_val = (x - xCenter)*2.0f/cx;
|
||||
INT y = yCenter+(INT)sin(acos(cos_val))*cy/2;
|
||||
INT y = yCenter+(INT)(sin(acos(cos_val))*cy/2);
|
||||
MoveToEx(pDrawItem->hDC, x, y, NULL);
|
||||
LineTo(pDrawItem->hDC, x, y + 10);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue