From a3ccc4eaebdcab608a19fc905a7bdefadae61c07 Mon Sep 17 00:00:00 2001 From: Thomas Dinges Date: Tue, 23 Jul 2013 16:04:49 +0000 Subject: * Compile fix for r58542, on Windows "subdir" was unknown. --- source/blender/imbuf/intern/thumbs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/imbuf') 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 -- cgit v1.2.3