http://bugs.winehq.org/show_bug.cgi?id=15397
Andrey Turkin andrey.turkin@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |andrey.turkin@gmail.com
--- Comment #2 from Andrey Turkin andrey.turkin@gmail.com 2008-09-25 04:08:09 --- I think better way would be do nothing if counts[poly]==0 as there aren't any points to do anything useful. Also, startpt definition could be moved into a loop where it belong. Something like this: for(i = 0, poly = 0; poly < polygons; poly++) if (counts[poly]>0) { POINT startpt; for(point = 0; point < counts[poly]; point++, i++) { ... } PATH_AddEntry(pPath, &startpt, PT_LINETO | PT_CLOSEFIGURE); }