Opened 18 years ago

Last modified 15 years ago

#31 closed defect (fixed)

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

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

Description

I encounter small error/typo:

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

Resolution:

Change lines:

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

to read:

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

Change History (1)

by mateusz@…, 18 years ago

Patch proposal created using cvs diff -Nua

Note: See TracTickets for help on using tickets.