ViewVC Help
View File | Revision Log | View Changeset | Root Listing
root/Oni2/xmlTools/trunk/posUpdate/XmlPatch.cs
(Generate patch)

Comparing xmlTools/trunk/posUpdate/XmlPatch.cs (file contents):
Revision 745 by s10k, Tue Mar 26 15:04:38 2013 UTC vs.
Revision 746 by s10k, Tue Mar 26 15:23:42 2013 UTC

# Line 295 | Line 295 | namespace xmlTools
295                      // Add the filename if it doesn't exists
296                      else
297                      {
298 <                        command = command.Insert(command.Length-1," -filename:" + this.forceFiles); // -1 to be inside quotes
298 >                        command = command.Insert(command.Length," -filename:" + this.forceFiles);
299                      }
300  
301                      if (paramType != "")
# Line 314 | Line 314 | namespace xmlTools
314  
315                  if (this.globalNoBackups && !Util.ContainsIgnoreCase(command,"nobackups")) // add noBackup flag if provided as global parameter
316                  {
317 <                    command = command.Insert(command.Length - 1, " -nobackups"); // -1 to be inside quotes
317 >                    command = command.Insert(command.Length, " -nobackups");
318                  }
319  
320                  Program.Main(Util.stringToArgsArray(command)); // use the current process is more efficient than start a new one

Diff Legend

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