Changeset 1111 for s10k/XmlTools
- Timestamp:
- Feb 16, 2019, 6:25:06 PM (6 years ago)
- Location:
- s10k/XmlTools
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
s10k/XmlTools/README.txt
r1073 r1111 1 1 Readme.txt 2 2 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3 XmlTools v2.0 d3 XmlTools v2.0e 4 4 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5 5 … … 50 50 ---------------------------------- 51 51 52 Script10k, "faob2@hotmail.com"52 s10k, "faob2@hotmail.com" 53 53 54 54 Oni Central Forum: … … 61 61 ---------------------------------- 62 62 Change Log: 63 ---------------------------------- 64 2.0e, 16-02-2019 65 -Fixed bug in the processing of patch files when the target XML contained an apostrophe (') in the path 63 66 ---------------------------------- 64 67 2.0d, 05-10-2017 -
s10k/XmlTools/utilglobalvars.h
r1073 r1111 24 24 25 25 static const QString AppName = "XmlTools"; 26 static const QString AppVersion = "2.0 d";26 static const QString AppVersion = "2.0e"; 27 27 #ifdef Q_OS_WIN 28 28 static const QString AppExecutable=AppName+".exe"; -
s10k/XmlTools/xmlpatch.cpp
r1073 r1111 374 374 command=GlobalVars::AppExecutable; 375 375 376 // Append files if forced to377 if(!this->forceTargetFilesWildcard.isEmpty()){378 command+=" --files '"+this->forceTargetFilesWildcard+"' ";379 }380 381 376 command+=" "+getPatchParameterValue(line,"Options"); 382 377 … … 392 387 command.replace("'","\""); //replace apostrophe by quotes, to avoid problems 393 388 command.replace("\"\"","'"); // this allow to use '' as ' ('' is transformed in "" and then in ') 389 390 // Append files if forced to 391 392 // This is added at the end so the apostrophe isn't done here (the path can contain it) 393 if(!this->forceTargetFilesWildcard.isEmpty()){ 394 command+=" --files \""+this->forceTargetFilesWildcard+"\" "; 395 } 394 396 395 397 executeCommandOperation(command);
Note:
See TracChangeset
for help on using the changeset viewer.