[GRASS-SVN] r64547 - grass/trunk/vector/v.in.lidar

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Feb 11 00:39:32 PST 2015


Author: mlennert
Date: 2015-02-11 00:39:31 -0800 (Wed, 11 Feb 2015)
New Revision: 64547

Modified:
   grass/trunk/vector/v.in.lidar/main.c
Log:
Literal strings should be enclosed in single, not double quotes


Modified: grass/trunk/vector/v.in.lidar/main.c
===================================================================
--- grass/trunk/vector/v.in.lidar/main.c	2015-02-11 04:41:18 UTC (rev 64546)
+++ grass/trunk/vector/v.in.lidar/main.c	2015-02-11 08:39:31 UTC (rev 64547)
@@ -741,13 +741,13 @@
 	    class_flag = LASPoint_GetClassification(LAS_point);
 	    /* classification type int or char ? */
 	    las_class_type = class_flag / 32;
-	    sprintf(buf, ", \"%s\"", class_type[las_class_type].name);
+	    sprintf(buf, ", \'%s\'", class_type[las_class_type].name);
 	    db_append_string(&sql, buf);
 	    /* classification class int or char ? */
 	    las_class = class_flag % 32;
 	    if (las_class > 13)
 		las_class = 13;
-	    sprintf(buf, ", \"%s\"", class_val[las_class].name);
+	    sprintf(buf, ", \'%s\'", class_val[las_class].name);
 	    db_append_string(&sql, buf);
 	    /* GPS time */
 	    if (have_time) {



More information about the grass-commit mailing list