/[svn]/linuxsampler/trunk/src/common/Path.cpp
ViewVC logotype

Diff of /linuxsampler/trunk/src/common/Path.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1481 by senoner, Wed Nov 14 23:42:15 2007 UTC revision 1537 by senoner, Mon Dec 3 18:30:47 2007 UTC
# Line 82  std::string Path::toDbPath() const { Line 82  std::string Path::toDbPath() const {
82    
83  std::string Path::toLscp() const {  std::string Path::toLscp() const {
84      std::string result;      std::string result;
85        #if WIN32
86        if(drive) {
87            result.assign(&drive,1);
88            result += ":";
89        }
90        #endif
91      for (int iElement = 0; iElement < elements.size(); iElement++) {      for (int iElement = 0; iElement < elements.size(); iElement++) {
92          // replace "special characters" by LSCP escape sequences          // replace "special characters" by LSCP escape sequences
93          std::string e = elements[iElement];          std::string e = elements[iElement];

Legend:
Removed from v.1481  
changed lines
  Added in v.1537

  ViewVC Help
Powered by ViewVC