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:
authorThomas Dinges <blender@dingto.org>2013-07-23 20:04:49 +0400
committerThomas Dinges <blender@dingto.org>2013-07-23 20:04:49 +0400
commita3ccc4eaebdcab608a19fc905a7bdefadae61c07 (patch)
tree6f4501da9335ed441ceff0baa6826fec88fe7937 /source/blender/imbuf
parenta788cca141fc43015e005d70a85f3ca81ba8065f (diff)
* Compile fix for r58542, on Windows "subdir" was unknown.
Diffstat (limited to 'source/blender/imbuf')
-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 2e43e46f946..7266001e290 100644
--- a/source/blender/imbuf/intern/thumbs.c
+++ b/source/blender/imbuf/intern/thumbs.c
@@ -72,6 +72,7 @@
static int get_thumb_dir(char *dir, ThumbSize size)
{
char *s = dir;
+ const char *subdir;
#ifdef WIN32
wchar_t dir_16[MAX_PATH];
/* yes, applications shouldn't store data there, but so does GIMP :)*/
@@ -80,7 +81,6 @@ static int get_thumb_dir(char *dir, ThumbSize size)
s += strlen(dir);
#else
const char *home = getenv("HOME");
- const char *subdir;
if (!home) return 0;
s += BLI_strncpy_rlen(s, home, FILE_MAX);
#endif