/[svn]/linuxsampler/trunk/src/db/InstrumentsDbUtilities.cpp
ViewVC logotype

Diff of /linuxsampler/trunk/src/db/InstrumentsDbUtilities.cpp

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

revision 1942 by persson, Mon Jun 1 18:50:06 2009 UTC revision 1943 by persson, Tue Jul 14 18:25:11 2009 UTC
# Line 23  Line 23 
23  #include "../common/File.h"  #include "../common/File.h"
24  #include "../common/global_private.h"  #include "../common/global_private.h"
25    
26    #include <algorithm>
27  #include <errno.h>  #include <errno.h>
28    
29  #include "../common/Exception.h"  #include "../common/Exception.h"
# Line 583  namespace LinuxSampler { Line 584  namespace LinuxSampler {
584              String subdir = Path;              String subdir = Path;
585              if(subdir.length() > FsDir.length()) {              if(subdir.length() > FsDir.length()) {
586                  subdir = subdir.substr(FsDir.length());                  subdir = subdir.substr(FsDir.length());
587    #ifdef WIN32
588                    replace(subdir.begin(), subdir.end(), '\\', '/');
589    #endif
590                  dir += subdir;                  dir += subdir;
591              }              }
592          }          }

Legend:
Removed from v.1942  
changed lines
  Added in v.1943

  ViewVC Help
Powered by ViewVC