From 2355c9268856f78566e29f7c9d6d2aa5da9c2913 Mon Sep 17 00:00:00 2001 From: "davidmc%netscape.com" Date: Tue, 20 Apr 1999 23:52:38 +0000 Subject: [PATCH] also permit zero scope to be okay as column scope for value oids inside metainfo cells. --- db/mork/src/morkBuilder.cpp | 3 ++- mailnews/db/mork/src/morkBuilder.cpp | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/db/mork/src/morkBuilder.cpp b/db/mork/src/morkBuilder.cpp index 0d4bd9bf03aa..93f59f22a783 100644 --- a/db/mork/src/morkBuilder.cpp +++ b/db/mork/src/morkBuilder.cpp @@ -779,7 +779,8 @@ morkBuilder::OnValueMid(morkEnv* ev, const morkSpan& inSpan, mork_token* metaSlot = mBuilder_MetaTokenSlot; if ( metaSlot ) { - if ( valOid->mOid_Scope == morkStore_kColumnSpaceScope ) + mork_scope valScope = valOid->mOid_Scope; + if ( !valScope || valScope == morkStore_kColumnSpaceScope ) { if ( ev->Good() && valMid.HasSomeId() ) { diff --git a/mailnews/db/mork/src/morkBuilder.cpp b/mailnews/db/mork/src/morkBuilder.cpp index 0d4bd9bf03aa..93f59f22a783 100644 --- a/mailnews/db/mork/src/morkBuilder.cpp +++ b/mailnews/db/mork/src/morkBuilder.cpp @@ -779,7 +779,8 @@ morkBuilder::OnValueMid(morkEnv* ev, const morkSpan& inSpan, mork_token* metaSlot = mBuilder_MetaTokenSlot; if ( metaSlot ) { - if ( valOid->mOid_Scope == morkStore_kColumnSpaceScope ) + mork_scope valScope = valOid->mOid_Scope; + if ( !valScope || valScope == morkStore_kColumnSpaceScope ) { if ( ev->Good() && valMid.HasSomeId() ) {