diff options
Diffstat (limited to 'src/lib/file_group.cc')
| -rw-r--r-- | src/lib/file_group.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/file_group.cc b/src/lib/file_group.cc index 9c8d43204..6f6a5a916 100644 --- a/src/lib/file_group.cc +++ b/src/lib/file_group.cc @@ -82,7 +82,7 @@ FileGroup::ensure_open_path (size_t p) const /* Already open */ return; } - + if (_current_file) { fclose (_current_file); } @@ -111,9 +111,9 @@ FileGroup::seek (int64_t pos, int whence) const } #ifdef DCPOMATIC_WINDOWS full_pos += _ftelli64 (_current_file); -#else +#else full_pos += ftell (_current_file); -#endif +#endif full_pos += pos; break; case SEEK_END: |
