mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-10-06 00:30:10 -06:00
Minor fixes
git-svn-id: svn://ultimatepp.org/upp/trunk@1106 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
41ca5210d1
commit
331da1076f
10 changed files with 19 additions and 30 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue