Browse Source

glynn: attempt to fix trac https://trac.osgeo.org/grass/ticket/1784

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@55120 15284696-431f-4ddb-bdfa-cd5b030d7da7
Markus Neteler 12 years ago
parent
commit
259344e29a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lib/raster3d/windowio.c

+ 1 - 1
lib/raster3d/windowio.c

@@ -70,7 +70,7 @@ static void Rast3d_getFullWindowPath(char *path, const char *windowName)
     while (*windowName == ' ')
 	windowName++;
 
-    if ((*windowName == '/') || (*windowName == '.')) {
+    if (strchr(windowName, GRASS_DIRSEP) || strchr(windowName, HOST_DIRSEP)) {
 	sprintf(path, windowName);
 	return;
     }