diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2013-06-25 18:48:30 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2013-06-25 18:48:30 +0400 |
commit | 40d4dfaba84fe0d5048cc847d5d249a35314b8ed (patch) | |
tree | 89346ba302d9d00b857b23b13b84e14cd8c6ba99 /source/blender/blenlib | |
parent | 689ca4aef7228f910065d45e0648e802c17ab7c2 (diff) |
Fix #35824: finding missing files not working correct for filepaths with special
characters on Windows.
Replaced some uses of stat() by BLI_stat() to properly handle such filepaths.
Diffstat (limited to 'source/blender/blenlib')
-rw-r--r-- | source/blender/blenlib/intern/fileops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenlib/intern/fileops.c b/source/blender/blenlib/intern/fileops.c index d4a8b800f17..26fe0f21cd5 100644 --- a/source/blender/blenlib/intern/fileops.c +++ b/source/blender/blenlib/intern/fileops.c @@ -251,7 +251,7 @@ void *BLI_gzopen(const char *filename, const char *mode) fclose(ufopen(filename, "a")); /* temporary #if until we update all libraries to 1.2.7 - * for correct wide char path handling */ + * for correct wide char path handling */ #if ZLIB_VERNUM >= 0x1270 && !defined(FREE_WINDOWS) UTF16_ENCODE(filename); |