[Bf-blender-cvs] [120f4507f64] master: Fix building on windows after cleanup changes in tiff.c
Sebastian Parborg
noreply at git.blender.org
Fri Sep 4 21:25:06 CEST 2020
Commit: 120f4507f640cf8b356476a9e82e6301981cfcfd
Author: Sebastian Parborg
Date: Fri Sep 4 21:24:06 2020 +0200
Branches: master
https://developer.blender.org/rB120f4507f640cf8b356476a9e82e6301981cfcfd
Fix building on windows after cleanup changes in tiff.c
===================================================================
M source/blender/imbuf/intern/tiff.c
===================================================================
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
More information about the Bf-blender-cvs
mailing list