/[svn]/linuxsampler/trunk/src/drivers/DeviceParameter.cpp
ViewVC logotype

Diff of /linuxsampler/trunk/src/drivers/DeviceParameter.cpp

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

revision 1295 by schoenebeck, Tue Jun 27 22:57:37 2006 UTC revision 1296 by iliev, Wed Aug 15 17:43:34 2007 UTC
# Line 65  namespace LinuxSampler { Line 65  namespace LinuxSampler {
65    
66      static std::vector<String> __parse_strings(String val) throw (Exception) {      static std::vector<String> __parse_strings(String val) throw (Exception) {
67          std::vector<String> vS;          std::vector<String> vS;
68            
69            // checking for empty list
70            if (val.length() == 0) return vS;
71    
72          // if there's only a single value, then we also allow to give it without being encapsulated into apostrophes          // if there's only a single value, then we also allow to give it without being encapsulated into apostrophes
73          if (val.find("\'") == String::npos && val.find("\"") == String::npos) {          if (val.find("\'") == String::npos && val.find("\"") == String::npos) {

Legend:
Removed from v.1295  
changed lines
  Added in v.1296

  ViewVC Help
Powered by ViewVC