[GRASS-SVN] r48477 - grass/branches/develbranch_6/ps/ps.map

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Sep 26 06:27:56 EDT 2011


Author: hamish
Date: 2011-09-26 03:27:55 -0700 (Mon, 26 Sep 2011)
New Revision: 48477

Modified:
   grass/branches/develbranch_6/ps/ps.map/key_data.c
Log:
mmetz: let the comment char have whitespace in front of it (#1453; merge from trunk)

Modified: grass/branches/develbranch_6/ps/ps.map/key_data.c
===================================================================
--- grass/branches/develbranch_6/ps/ps.map/key_data.c	2011-09-26 10:22:10 UTC (rev 48476)
+++ grass/branches/develbranch_6/ps/ps.map/key_data.c	2011-09-26 10:27:55 UTC (rev 48477)
@@ -7,6 +7,8 @@
 	    break;
     if (*key == 0)
 	return 0;
+    if (*key == '#')
+	return 0;
     for (data = key + 1; *data; data++)
 	if (*data == ' ' || *data == '\t')
 	    break;



More information about the grass-commit mailing list