Skip to content

Commit

Permalink
Fix the Windows path.
Browse files Browse the repository at this point in the history
  • Loading branch information
valeriuo committed May 29, 2019
1 parent 73e979c commit 2177d85
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions hts.c
Expand Up @@ -3003,7 +3003,11 @@ static int idx_check_local(const char *fn, int fmt, char **fnidx) {
}
} else {
if (!strncmp(fn, "file://", 7))
#ifdef _WIN32
fn_tmp = (char *)&fn[8];
#else
fn_tmp = (char *)&fn[7];
#endif
else
fn_tmp = (char *)fn;
}
Expand Down

0 comments on commit 2177d85

Please sign in to comment.