diff options
author | Andrea Weikert <elubie@gmx.net> | 2007-09-17 15:07:28 +0400 |
---|---|---|
committer | Andrea Weikert <elubie@gmx.net> | 2007-09-17 15:07:28 +0400 |
commit | 14608566420f8a14d88389020c34e5718ac583b2 (patch) | |
tree | 03182d0c6c4b233450bd9597db293d5e477cf8df /source | |
parent | aeef812440ca21f4f70f53ebc80afad83a8c4ba7 (diff) |
fix compile on not-windows platforms, accidentally removed declaration
in warning fix.
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/imbuf/intern/thumbs.c | 2 |
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 |