dtinfo subdirectory dtinfogen
This commit is contained in:
committed by
Jon Trulson
parent
aef2830df2
commit
eb698f32cf
@@ -36,7 +36,7 @@ AttributeData::AttributeData( const Token &t,
|
||||
{
|
||||
|
||||
const char *str;
|
||||
if ( str = attribute_value( t, attr_name ) ) {
|
||||
if ( (str = attribute_value( t, attr_name )) ) {
|
||||
data_complete = 1;
|
||||
ValueBuffer.writeStr( str );
|
||||
}
|
||||
@@ -74,5 +74,8 @@ AttributeData::attribute_value( const Token &t, int attributeName )
|
||||
att_type == SGMLName::TOKEN ){
|
||||
return ( tmp->getAttrValueString() );
|
||||
}
|
||||
else {
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user