openddl-parser: latest greatest.

Signed-off-by: Kim Kulling <kim.kulling@googlemail.com>
This commit is contained in:
Kim Kulling
2015-04-29 11:57:13 +02:00
parent eb1ee61420
commit ce939b5126
3 changed files with 76 additions and 53 deletions

View File

@@ -153,7 +153,7 @@ Property *DDLNode::findPropertyByName( const std::string &name ) {
}
Property *current( m_properties );
while( ddl_nullptr != current ) {
int res = strncmp( current->m_id->m_buffer, name.c_str(), name.size() );
int res = strncmp( current->m_key->m_text.m_buffer, name.c_str(), name.size() );
if( 0 == res ) {
return current;
}