Changeset 7591

Show
Ignore:
Timestamp:
05/14/08 13:47:41 (2 months ago)
Author:
tbonfort
Message:

fix a bug with an uninitialized variable

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/mapserver/maputil.c

    r7578 r7591  
    14641464            for(j=1; j<p->line[i].numpoints; j++) {         
    14651465                ox=0; oy=0; 
    1466                 dx = (p->line[i].point[j].x - p->line[i].point[j-1].x); 
    1467                 dy = (p->line[i].point[j].y - p->line[i].point[j-1].y); 
     1466                x = dx = (p->line[i].point[j].x - p->line[i].point[j-1].x); 
     1467                y = dy = (p->line[i].point[j].y - p->line[i].point[j-1].y); 
    14681468 
    14691469                /* offset setting - quick approximation, may be changed with goniometric functions */