(fopen_utf8.c) Cleanup

This commit is contained in:
twinaphex 2019-07-17 21:03:38 +02:00
parent cb06405293
commit 876aca8817

View File

@ -36,9 +36,7 @@
void *fopen_utf8(const char * filename, const char * mode) void *fopen_utf8(const char * filename, const char * mode)
{ {
#if defined(_XBOX) #if defined(LEGACY_WIN32)
return fopen(filename, mode);
#elif defined(LEGACY_WIN32)
FILE *ret = NULL; FILE *ret = NULL;
char * filename_local = utf8_to_local_string_alloc(filename); char * filename_local = utf8_to_local_string_alloc(filename);