Skip to content
Permalink
Browse files

Translate comment

  • Loading branch information...
jhasse committed Mar 13, 2019
1 parent 83140e0 commit 9b3589c51855db6eb84a9a53817b4787bad540c9
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/model/database.cpp
@@ -300,7 +300,7 @@ PObjectBase ObjectDatabase::CreateObject( std::string classname, PObjectBase par
{
bool create = true;

// comprobamos el número de instancias
// we check the number of instances
if (max > 0 && CountChildrenWithSameType(parent, objType) >= max)
create = false;

@@ -1211,7 +1211,7 @@ void ObjectDatabase::ParseProperties( ticpp::Element* elem_obj, PObjectInfo obj_
def_value += "; ";
}
def_value += child_value;

children.push_back(child);

elem_child = elem_child->NextSiblingElement( "child", false );

0 comments on commit 9b3589c

Please sign in to comment.
You can’t perform that action at this time.