Skip to content

Commit

Permalink
Merge pull request #36 from dpryan79/fix35
Browse files Browse the repository at this point in the history
Fix #35, bump version to 0.4.3
  • Loading branch information
dpryan79 authored May 8, 2019
2 parents 07c91d4 + 0f47a65 commit 9c4eedf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bigWig.h
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ extern "C" {
/*!
* The library version number
*/
#define LIBBIGWIG_VERSION 0.4.2
#define LIBBIGWIG_VERSION 0.4.3

/*!
* If 1, then this library was compiled with remote file support.
Expand Down
2 changes: 1 addition & 1 deletion io.c
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ CURLcode urlSeek(URL_t *URL, size_t pos) {
#ifndef NOCURL
} else {
//If the location is covered by the buffer then don't seek!
if(pos < URL->filePos || pos >= URL->filePos+URL->bufSize) {
if(pos < URL->filePos || pos >= URL->filePos+URL->bufLen) {
URL->filePos = pos;
URL->bufLen = 0; //Otherwise, filePos will get incremented on the next read!
URL->bufPos = 0;
Expand Down

0 comments on commit 9c4eedf

Please sign in to comment.