Changeset 33:71b986b0e6be in rrlib_xml


Ignore:
Timestamp:
13.09.2011 01:35:58 (8 years ago)
Author:
Max Reichardt <mreichardt@…>
Branch:
default
Phase:
public
Message:

Bugfix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tXMLNode.cpp

    r25 r33  
    126126tXMLNode &tXMLNode::AddChildNode(const std::string &name, const std::string &content) 
    127127{ 
    128   return reinterpret_cast<tXMLNode &>(*xmlNewChild(this, 0, reinterpret_cast<const xmlChar *>(name.c_str()), reinterpret_cast<const xmlChar *>(name.c_str()))); 
     128  return reinterpret_cast<tXMLNode &>(*xmlNewChild(this, 0, reinterpret_cast<const xmlChar *>(name.c_str()), reinterpret_cast<const xmlChar *>(content.c_str()))); 
    129129} 
    130130 
Note: See TracChangeset for help on using the changeset viewer.