Open ZFS files using unicode-aware APIs.

May help #8223.
This commit is contained in:
Unknown W. Brackets committed 2015-11-17 21:51:55 -08:00
1 parent 563ad0fa10
commit ae30933ed8
1 file changed
+1 -1
+1 -1
View File
@@ -39,7 +39,7 @@ uint8_t *ReadFromZip(zip *archive, const char* filename, size_t *size) {
// The return is non-const because - why not?
uint8_t *ReadLocalFile(const char *filename, size_t *size) {
FILE *file = fopen(filename, "rb");
FILE *file = openCFile(filename, "rb");
if (!file) {
*size = 0;
return nullptr;