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-17 15:07:28 +0400
committerAndrea Weikert <elubie@gmx.net>2007-09-17 15:07:28 +0400
commit14608566420f8a14d88389020c34e5718ac583b2 (patch)
tree03182d0c6c4b233450bd9597db293d5e477cf8df /source/blender/imbuf/intern/thumbs.c
parentaeef812440ca21f4f70f53ebc80afad83a8c4ba7 (diff)
fix compile on not-windows platforms, accidentally removed declaration
in warning fix.
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 c2e30b091c2..b071331e46b 100644
--- a/source/blender/imbuf/intern/thumbs.c
+++ b/source/blender/imbuf/intern/thumbs.c
@@ -69,7 +69,7 @@ static int get_thumb_dir( char* dir , ThumbSize size)
/* yes, applications shouldn't store data there, but so does GIMP :)*/
SHGetSpecialFolderPath(0, dir, CSIDL_PROFILE, 0);
#else
- home = getenv("HOME");
+ char* home = getenv("HOME");
if (!home) return 0;
BLI_strncpy(dir, home, FILE_MAX);
#endif