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

Comparing XmlTools2/trunk/xmlpatch.cpp (file contents):
Revision 958 by s10k, Sat Feb 15 01:36:05 2014 UTC vs.
Revision 960 by s10k, Sun Feb 16 15:10:52 2014 UTC

# Line 270 | Line 270 | void XmlPatch::executeCustomCommandOpera
270  
271          engine.globalObject().setProperty("$xmlData",currXmlFileString);
272  
273 <        if(this->verboseEnabled){
274 <            begin = clock();
275 <        }
273 >        begin = clock();
274  
275          // main needs to be called so the user code is evaluated
276          // alternatively you can do: myFunc=engine.evaluate('(function main(){})'); myFunc.call();
# Line 459 | Line 457 | void XmlPatch::checkAndProcessValidComma
457              }
458  
459              command.replace("'","\""); //replace apostrophe by quotes, to avoid problems
460 +            command.replace("\"\"","'"); // this allow to use '' as ' ('' is transformed in "" and then in ')
461  
462              executeCommandOperation(command);
463  

Diff Legend

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