[GRASS-SVN] r48470 - grass/trunk/ps/ps.map

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Sep 26 04:04:30 EDT 2011


Author: hamish
Date: 2011-09-26 01:04:30 -0700 (Mon, 26 Sep 2011)
New Revision: 48470

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

Modified: grass/trunk/ps/ps.map/key_data.c
===================================================================
--- grass/trunk/ps/ps.map/key_data.c	2011-09-26 07:48:59 UTC (rev 48469)
+++ grass/trunk/ps/ps.map/key_data.c	2011-09-26 08:04:30 UTC (rev 48470)
@@ -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