[GRASS-SVN] r55136 - grass/branches/develbranch_6/lib/g3d

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Feb 20 12:10:08 PST 2013


Author: neteler
Date: 2013-02-20 12:10:07 -0800 (Wed, 20 Feb 2013)
New Revision: 55136

Modified:
   grass/branches/develbranch_6/lib/g3d/g3dwindowio.c
Log:
glynn: attempt to fix trac #1784

Modified: grass/branches/develbranch_6/lib/g3d/g3dwindowio.c
===================================================================
--- grass/branches/develbranch_6/lib/g3d/g3dwindowio.c	2013-02-20 20:09:04 UTC (rev 55135)
+++ grass/branches/develbranch_6/lib/g3d/g3dwindowio.c	2013-02-20 20:10:07 UTC (rev 55136)
@@ -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