ViewVC Help
View File | Revision Log | View Changeset | Root Listing
root/Oni2/XmlTools2/trunk/optionsparser.cpp
(Generate patch)

Comparing XmlTools2/trunk/optionsparser.cpp (file contents):
Revision 927 by s10k, Wed Feb 5 18:36:35 2014 UTC vs.
Revision 940 by s10k, Thu Feb 6 16:09:16 2014 UTC

# Line 96 | Line 96 | void OptionsParser::parse(){
96                  line = fileStream.readLine();
97  
98                  if(line.startsWith('"')){ // Only read when starting with quotes
99 <                    temp=Util::substring(line," ");
99 >                    temp=Util::substring(line," \""); // We need to use more than space, because if paths contains spaces...
100                      patchFiles << temp[0].remove('"'); // remove the quotes, they are now not needed
101                      targetXmlFiles << temp[1].remove('"');
102                  }

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)