From c001bd81a75b60a491ae30947736eea78260827a Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Sat, 6 Oct 2012 07:03:03 +0000 Subject: Color Management: fixed loading configuration from non-ascii paths Used the same hack as BLI gzip is using -- calculate short path and send it to OCIO library. --- source/blender/blenlib/BLI_fileops.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source/blender/blenlib/BLI_fileops.h') diff --git a/source/blender/blenlib/BLI_fileops.h b/source/blender/blenlib/BLI_fileops.h index e8d6336a994..c278370d211 100644 --- a/source/blender/blenlib/BLI_fileops.h +++ b/source/blender/blenlib/BLI_fileops.h @@ -96,6 +96,8 @@ void BLI_file_free_lines(struct LinkNode *lines); # ifndef O_BINARY # define O_BINARY 0 # endif +#else +void BLI_get_short_name(char short_name[256], const char *filename); #endif #ifdef __cplusplus -- cgit v1.2.3