[GRASS-SVN] r55120 - grass/trunk/lib/raster3d

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Feb 19 15:02:39 PST 2013


Author: neteler
Date: 2013-02-19 15:02:39 -0800 (Tue, 19 Feb 2013)
New Revision: 55120

Modified:
   grass/trunk/lib/raster3d/windowio.c
Log:
glynn: attempt to fix trac #1784

Modified: grass/trunk/lib/raster3d/windowio.c
===================================================================
--- grass/trunk/lib/raster3d/windowio.c	2013-02-19 12:25:46 UTC (rev 55119)
+++ grass/trunk/lib/raster3d/windowio.c	2013-02-19 23:02:39 UTC (rev 55120)
@@ -70,7 +70,7 @@
     while (*windowName == ' ')
 	windowName++;
 
-    if ((*windowName == '/') || (*windowName == '.')) {
+    if (strchr(windowName, GRASS_DIRSEP) || strchr(windowName, HOST_DIRSEP)) {
 	sprintf(path, windowName);
 	return;
     }



More information about the grass-commit mailing list