projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Updated sv_SE translation from Adam Klotblixt.
[dcpomatic.git]
/
src
/
lib
/
file_group.cc
diff --git
a/src/lib/file_group.cc
b/src/lib/file_group.cc
index 9c8d43204b1b830726c073de894e7b9f5c6e9e22..5cfe021192ec9d3adf86150280fd849dab4fa98d 100644
(file)
--- a/
src/lib/file_group.cc
+++ b/
src/lib/file_group.cc
@@
-26,6
+26,7
@@
#include "file_group.h"
#include "exceptions.h"
#include "cross.h"
#include "file_group.h"
#include "exceptions.h"
#include "cross.h"
+#include <iostream>
using std::vector;
using std::cout;
using std::vector;
using std::cout;
@@
-82,7
+83,7
@@
FileGroup::ensure_open_path (size_t p) const
/* Already open */
return;
}
/* Already open */
return;
}
-
+
if (_current_file) {
fclose (_current_file);
}
if (_current_file) {
fclose (_current_file);
}
@@
-111,9
+112,9
@@
FileGroup::seek (int64_t pos, int whence) const
}
#ifdef DCPOMATIC_WINDOWS
full_pos += _ftelli64 (_current_file);
}
#ifdef DCPOMATIC_WINDOWS
full_pos += _ftelli64 (_current_file);
-#else
+#else
full_pos += ftell (_current_file);
full_pos += ftell (_current_file);
-#endif
+#endif
full_pos += pos;
break;
case SEEK_END:
full_pos += pos;
break;
case SEEK_END: