Skip to content

Commit

Permalink
Fixed typo in Svg_FromDef()
Browse files Browse the repository at this point in the history
  • Loading branch information
danij-deng committed Feb 9, 2012
1 parent f7cd6de commit 2397b58
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doomsday/engine/portable/src/svg.c
Expand Up @@ -213,10 +213,10 @@ Svg* Svg_FromDef(svgid_t uniqueId, const def_svgline_t* lines, uint lineCount)
// Setup the lines.
slIt = lines;
dlIt = svg->lines;
for(i = 0; i < finalLineCount; ++i, slIt++)
for(i = 0; i < lineCount; ++i, slIt++)
{
// Skip lines with missing vertices...
if(slIt->numPoints <= 1) continue;
if(slIt->numPoints < 2) continue;

dlIt->flags = 0;

Expand Down

0 comments on commit 2397b58

Please sign in to comment.