also permit zero scope to be okay as column scope for value oids

This commit is contained in:
davidmc%netscape.com 1999-04-20 23:52:38 +00:00
Родитель ae64a03f94
Коммит 5de9e486a5
2 изменённых файлов: 4 добавлений и 2 удалений

Просмотреть файл

@ -779,7 +779,8 @@ morkBuilder::OnValueMid(morkEnv* ev, const morkSpan& inSpan,
mork_token* metaSlot = mBuilder_MetaTokenSlot; mork_token* metaSlot = mBuilder_MetaTokenSlot;
if ( metaSlot ) if ( metaSlot )
{ {
if ( valOid->mOid_Scope == morkStore_kColumnSpaceScope ) mork_scope valScope = valOid->mOid_Scope;
if ( !valScope || valScope == morkStore_kColumnSpaceScope )
{ {
if ( ev->Good() && valMid.HasSomeId() ) if ( ev->Good() && valMid.HasSomeId() )
{ {

Просмотреть файл

@ -779,7 +779,8 @@ morkBuilder::OnValueMid(morkEnv* ev, const morkSpan& inSpan,
mork_token* metaSlot = mBuilder_MetaTokenSlot; mork_token* metaSlot = mBuilder_MetaTokenSlot;
if ( metaSlot ) if ( metaSlot )
{ {
if ( valOid->mOid_Scope == morkStore_kColumnSpaceScope ) mork_scope valScope = valOid->mOid_Scope;
if ( !valScope || valScope == morkStore_kColumnSpaceScope )
{ {
if ( ev->Good() && valMid.HasSomeId() ) if ( ev->Good() && valMid.HasSomeId() )
{ {