Permalink
Browse files

PostGIS input: fix regression introduced by 62d3e61 when dealing with…

… 2D-only PostGIS 1.X geometries (#4941)
  • Loading branch information...
rouault committed Jun 11, 2014
1 parent 52942b2 commit f2acfb46525a7dcb8d8a53744f29071d026e0e4d
Showing with 1 addition and 1 deletion.
  1. +1 −1 mappostgis.c
View
@@ -2241,7 +2241,7 @@ int msPostGISReadShape(layerObj *layer, shapeObj *shape)
w.ptr[5] = w.ptr[1];
w.ptr[6] = w.ptr[2];
w.ptr[7] = w.ptr[3];
w.ptr[8] = w.ptr[4];
w.ptr[8] = w.ptr[4] & ~(0x20);
w.ptr[4] = 1;
w.ptr += 4;
w.size -= 4;

0 comments on commit f2acfb4

Please sign in to comment.