[GRASS-SVN] r50199 - grass/trunk/vector/v.in.dwg

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Jan 14 22:28:54 EST 2012


Author: hamish
Date: 2012-01-14 19:28:54 -0800 (Sat, 14 Jan 2012)
New Revision: 50199

Modified:
   grass/trunk/vector/v.in.dwg/entity.c
Log:
allocate enough space for a 3D coord (#1311)

Modified: grass/trunk/vector/v.in.dwg/entity.c
===================================================================
--- grass/trunk/vector/v.in.dwg/entity.c	2012-01-15 02:06:35 UTC (rev 50198)
+++ grass/trunk/vector/v.in.dwg/entity.c	2012-01-15 03:28:54 UTC (rev 50199)
@@ -293,7 +293,7 @@
     PAD_ENT_HDR adenhd2;
     PAD_ENT aden2;
     OdaLong il;
-    double tempdouble[2], tempbulge, tempwidth[2];
+    double tempdouble[3], tempbulge, tempwidth[3];
     double x, y, z, ang;
     PAD_BLKH adblkh;
     int layer_found = 1;



More information about the grass-commit mailing list