minor adjustments

git-svn-id: file:///home/notaz/opt/svn/PicoDrive@305 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
notaz 2007-11-25 16:45:26 +00:00
parent 7d0143a2de
commit ff6b7429bb
4 changed files with 15 additions and 3 deletions

View file

@ -250,7 +250,7 @@ size_t pm_read(void *ptr, size_t bytes, pm_file *stream)
if (block != cso->block_in_buff)
{
if (read_pos != cso->fpos_in)
{ fseek(stream->file, read_pos, SEEK_SET); printf("seek %i\n", read_pos); }
fseek(stream->file, read_pos, SEEK_SET);
rret = fread(cso->in_buff, 1, read_len, stream->file);
cso->fpos_in = read_pos + rret;
if (rret != read_len) {