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