Issue #643 - Only break lookup if 'code' AND 'version' found.
This commit is contained in:
parent
eefd2edda7
commit
6a3e3fae77
|
@ -2175,9 +2175,11 @@ ctmbstr TY_(EntityName)( uint ch, uint versions )
|
||||||
{
|
{
|
||||||
if ( ep->code == ch )
|
if ( ep->code == ch )
|
||||||
{
|
{
|
||||||
if ( ep->versions & versions )
|
if (ep->versions & versions)
|
||||||
|
{
|
||||||
entnam = ep->name;
|
entnam = ep->name;
|
||||||
break; /* Found code. Stop search. */
|
break; /* Issue #643 - Found code and version. Stop search? */
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return entnam;
|
return entnam;
|
||||||
|
|
Loading…
Reference in a new issue