From c07005556fdf0647326ec57f5b61bd8b8ef5014b Mon Sep 17 00:00:00 2001 From: Sandro Santilli Date: Tue, 9 Feb 2010 06:52:27 +0000 Subject: [PATCH] Fix documention git-svn-id: http://svn.osgeo.org/postgis/trunk@5224 b70326c6-7e19-0410-871a-916f4a2858ee --- liblwgeom/ptarray.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/liblwgeom/ptarray.c b/liblwgeom/ptarray.c index f9fc23ea3..097d00fe3 100644 --- a/liblwgeom/ptarray.c +++ b/liblwgeom/ptarray.c @@ -249,10 +249,10 @@ ptarray_same(const POINTARRAY *pa1, const POINTARRAY *pa2) /** * @brief Add a point in a pointarray. * 'where' is the offset (starting at 0) - * if 'where' == -1 append is required. + * if 'where' == pa->npoints, append is performed. */ POINTARRAY * -ptarray_addPoint(POINTARRAY *pa, uchar *p, size_t pdims, unsigned int where) +ptarray_addPoint(const POINTARRAY *pa, uchar *p, size_t pdims, unsigned int where) { POINTARRAY *ret; POINT4D pbuf; -- 2.50.1