Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Parborg <darkdefende@gmail.com>2020-09-04 22:24:06 +0300
committerSebastian Parborg <darkdefende@gmail.com>2020-09-04 22:24:06 +0300
commit120f4507f640cf8b356476a9e82e6301981cfcfd (patch)
tree54ed34d40551c8298fec882715aca5fc1d20af3d /source/blender/imbuf/intern/tiff.c
parent0b3ef67b797924ddd31212b64e008f298b7bfc58 (diff)
Fix building on windows after cleanup changes in tiff.c
Diffstat (limited to 'source/blender/imbuf/intern/tiff.c')
-rw-r--r--source/blender/imbuf/intern/tiff.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/imbuf/intern/tiff.c b/source/blender/imbuf/intern/tiff.c
index 9b579c4780c..9d5d7f58335 100644
--- a/source/blender/imbuf/intern/tiff.c
+++ b/source/blender/imbuf/intern/tiff.c
@@ -795,7 +795,7 @@ int imb_savetiff(ImBuf *ibuf, const char *filepath, int flags)
/* create image as a file */
#ifdef WIN32
- wchar_t *wname = alloc_utf16_from_8(name, 0);
+ wchar_t *wname = alloc_utf16_from_8(filepath, 0);
image = TIFFOpenW(wname, "w");
free(wname);
#else