mirror of
https://github.com/reactos/reactos.git
synced 2024-09-30 14:37:45 +00:00
[WIN32K]
Take the "unsignedness" of the index into account. svn path=/trunk/; revision=56007
This commit is contained in:
parent
300da180c0
commit
b9862648ef
|
@ -760,8 +760,11 @@ PATH_PolyDraw(PDC dc, const POINT *pts, const BYTE *types, DWORD cbPoints)
|
|||
lastmove.x = orig_pos.x = pdcattr->ptlCurrent.x;
|
||||
lastmove.y = orig_pos.y = pdcattr->ptlCurrent.y;
|
||||
|
||||
for (i = pPath->numEntriesUsed - 1; i >= 0; i--)
|
||||
i = pPath->numEntriesUsed;
|
||||
|
||||
while (i != 0)
|
||||
{
|
||||
i--;
|
||||
if (pPath->pFlags[i] == PT_MOVETO)
|
||||
{
|
||||
lastmove.x = pPath->pPoints[i].x;
|
||||
|
|
Loading…
Reference in a new issue