This commit is contained in:
davidmc%netscape.com 1999-07-20 23:24:51 +00:00
parent e2158e63d7
commit 6b70452837
2 changed files with 4 additions and 6 deletions

View File

@ -92,9 +92,8 @@ morkStream::morkStream(morkEnv* ev, const morkUsage& inUsage,
if ( ioContentFile->FileFrozen() ) // forced to be readonly?
inFrozen = morkBool_kTrue; // override the input value
mork_pos fileEnd;
fileEnd = ioContentFile->Length(ev);
mork_pos fileEnd = ioContentFile->Length(ev);
morkFile::SlotStrongFile(ioContentFile, ev, &mStream_ContentFile);
if ( ev->Good() )
{

View File

@ -92,9 +92,8 @@ morkStream::morkStream(morkEnv* ev, const morkUsage& inUsage,
if ( ioContentFile->FileFrozen() ) // forced to be readonly?
inFrozen = morkBool_kTrue; // override the input value
mork_pos fileEnd;
fileEnd = ioContentFile->Length(ev);
mork_pos fileEnd = ioContentFile->Length(ev);
morkFile::SlotStrongFile(ioContentFile, ev, &mStream_ContentFile);
if ( ev->Good() )
{