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:
authorAndrea Weikert <elubie@gmx.net>2007-09-23 17:52:08 +0400
committerAndrea Weikert <elubie@gmx.net>2007-09-23 17:52:08 +0400
commit70edf4e2933f9a402de70298352b8775540baf15 (patch)
tree779e302a80ce55c37cc071adbda8572fe6ce259f /source/blender/imbuf/intern/thumbs.c
parent5f648881377c13d337c2c648e5747bc66ce92cf2 (diff)
fixing some compile problems with MSVC7.1/scons
* stupid misplacement of declaration * replacing fmodf with fmod (fmodf not available with MSVC7.1 when compiling C-code) * appending CXXFLAGS to CCFLAGS in tools/Blender.py to avoid linking errors with runtime library (/MT not set) - jesterKing, could you please check if that's ok?
Diffstat (limited to 'source/blender/imbuf/intern/thumbs.c')
-rw-r--r--source/blender/imbuf/intern/thumbs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/imbuf/intern/thumbs.c b/source/blender/imbuf/intern/thumbs.c
index 5e6335cdac1..493b0968f55 100644
--- a/source/blender/imbuf/intern/thumbs.c
+++ b/source/blender/imbuf/intern/thumbs.c
@@ -195,9 +195,9 @@ static int uri_from_filename( const char *dir, const char *file, char *uri )
#ifdef WITH_ICONV
{
+ char uri_utf8[FILE_MAX*3+8];
escape_uri_string(orig_uri, uri_utf8, FILE_MAX*3+8, UNSAFE_PATH);
BLI_string_to_utf8(uri_utf8, uri, NULL);
- char uri_utf8[FILE_MAX*3+8];
}
#else
escape_uri_string(orig_uri, uri, FILE_MAX*3+8, UNSAFE_PATH);