Fixed amb290 - Some incorrect reporting of tag mismatches with the 'any' tag

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40799
This commit is contained in:
Scott Ehlert 2007-05-14 19:32:38 +00:00
parent 663906c60e
commit a0486eea8c

View File

@ -327,7 +327,7 @@ SC_FUNC int matchtag(int formaltag,int actualtag,int allowcoerce)
* tag is "coerced" to zero * tag is "coerced" to zero
*/ */
if (!allowcoerce || formaltag!=0 || (actualtag & FIXEDTAG)!=0) { if (!allowcoerce || formaltag!=0 || (actualtag & FIXEDTAG)!=0) {
if (formaltag == pc_anytag) if (formaltag == pc_anytag || actualtag == pc_anytag)
{ {
return TRUE; return TRUE;
} }