diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-12-29 00:16:22 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-12-29 00:16:22 +0000 |
| commit | 6219882009ffd499b4b8000697b17a659c834212 (patch) | |
| tree | 54e8270f3520a72f636a679c98ccc43ee0c19fac /src/lib/file_group.cc | |
| parent | 4014143952f791973d94c5cfb5bec9e97d1462b7 (diff) | |
Fix a number of missing fopen_boost replacements; might fix problems with adding content from non-Latin directories.
Diffstat (limited to 'src/lib/file_group.cc')
| -rw-r--r-- | src/lib/file_group.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/file_group.cc b/src/lib/file_group.cc index 9c2065141..dfe336b8f 100644 --- a/src/lib/file_group.cc +++ b/src/lib/file_group.cc @@ -21,6 +21,7 @@ #include <sndfile.h> #include "file_group.h" #include "exceptions.h" +#include "cross.h" using std::vector; using std::cout; @@ -78,7 +79,7 @@ FileGroup::ensure_open_path (size_t p) const } _current_path = p; - _current_file = fopen (_paths[_current_path].string().c_str(), "rb"); + _current_file = fopen_boost (_paths[_current_path], "rb"); if (_current_file == 0) { throw OpenFileError (_paths[_current_path]); } |
