if at first you don't succeed...
This commit is contained in:
parent
c4878448a9
commit
8805366e28
|
@ -95,7 +95,7 @@ compareOffsetToFile( const void * a, const void * b )
|
||||||
const tr_file * file = b;
|
const tr_file * file = b;
|
||||||
|
|
||||||
if( offset < file->offset ) return -1;
|
if( offset < file->offset ) return -1;
|
||||||
if( offset > file->offset + file->length ) return 1;
|
if( offset >= file->offset + file->length ) return 1;
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue