Minor fixes

git-svn-id: svn://ultimatepp.org/upp/trunk@1106 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2009-04-27 17:48:02 +00:00
commit 331da1076f
10 changed files with 19 additions and 30 deletions

View file

@ -342,7 +342,8 @@ static void BltPack4(byte *dest, const byte *src, unsigned count)
static tsize_t ReadStream(thandle_t fd, tdata_t buf, tsize_t size)
{
Stream *stream = reinterpret_cast<Stream *>(fd);
ASSERT(stream->IsOpen());
if(!stream->IsOpen())
return 0;
// RLOG("TiffStream::TIFRaster::Data & " << (int)wrapper.stream.GetPos() << ", count = " << size
// << ", end = " << (int)(wrapper.stream.GetPos() + size));
return stream->Get(buf, size);