comparison plugin/LADSPAPluginFactory.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 3a6af0e5e2d1
comparison
equal deleted inserted replaced
222:c7122e70f8ec 223:bf753a9abf0c
552 #endif 552 #endif
553 } 553 }
554 554
555 std::string::size_type index = 0, newindex = 0; 555 std::string::size_type index = 0, newindex = 0;
556 556
557 while ((newindex = path.find(':', index)) < path.size()) { 557 while ((newindex = path.find(PATH_SEPARATOR, index)) < path.size()) {
558 pathList.push_back(path.substr(index, newindex - index).c_str()); 558 pathList.push_back(path.substr(index, newindex - index).c_str());
559 index = newindex + 1; 559 index = newindex + 1;
560 } 560 }
561 561
562 pathList.push_back(path.substr(index).c_str()); 562 pathList.push_back(path.substr(index).c_str());