Opened 18 years ago

Last modified 15 years ago

#31 closed defect

Undeclared 'area' variable used in GEOSLength in geos_c.cpp — at Version 2

Reported by: mloskot Owned by: strk@…
Priority: major Milestone:
Component: C API Version: main
Severity: Content Keywords: imported, phpbugtracker
Cc: mloskot

Description (last modified by mloskot)

I encounter small error/typo:

Error 7 error C2065: 'area' : undeclared identifier
d:__projectsgeos_cvsgeoscapigeos_c.cpp	510

Resolution is to change lines:

try {
   *area = g->getLength();
   return 1;
}

to read:

try {
   *lenght = g->getLength();
   return 1;
}

Change History (3)

by mateusz@…, 18 years ago

Patch proposal created using cvs diff -Nua

comment:1 by strk@…, 18 years ago

Resolution: nonefixed

comment:2 by mloskot, 16 years ago

Description: modified (diff)
Milestone: imported
Reporter: changed from mateusz@… to mloskot
Resolution: fixed
Status: closedreopened
Version: 3.0.0svn-trunk
Note: See TracTickets for help on using tickets.