diff plugin/DSSIPluginFactory.cpp @ 223:bf753a9abf0c

* Add slice layers (so you can display a slice of a colour 3d plot as if it were a spectrum) * Make spectrum layer a subclass of slice layer
author Chris Cannam
date Fri, 26 Jan 2007 16:59:57 +0000
parents e08cb0158e81
children dc46851837d6
line wrap: on
line diff
--- a/plugin/DSSIPluginFactory.cpp	Thu Jan 25 17:41:00 2007 +0000
+++ b/plugin/DSSIPluginFactory.cpp	Fri Jan 26 16:59:57 2007 +0000
@@ -231,7 +231,7 @@
 
     std::string::size_type index = 0, newindex = 0;
 
-    while ((newindex = path.find(':', index)) < path.size()) {
+    while ((newindex = path.find(PATH_SEPARATOR, index)) < path.size()) {
 	pathList.push_back(path.substr(index, newindex - index).c_str());
 	index = newindex + 1;
     }