[GRASS-SVN] r64548 - grass/branches/releasebranch_7_0/vector/v.in.lidar

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Feb 11 00:41:15 PST 2015


Author: mlennert
Date: 2015-02-11 00:41:15 -0800 (Wed, 11 Feb 2015)
New Revision: 64548

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


Modified: grass/branches/releasebranch_7_0/vector/v.in.lidar/main.c
===================================================================
--- grass/branches/releasebranch_7_0/vector/v.in.lidar/main.c	2015-02-11 08:39:31 UTC (rev 64547)
+++ grass/branches/releasebranch_7_0/vector/v.in.lidar/main.c	2015-02-11 08:41:15 UTC (rev 64548)
@@ -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