fix compile on not-windows platforms, accidentally removed declaration

in warning fix.
This commit is contained in:
Andrea Weikert 2007-09-17 11:07:28 +00:00
parent aeef812440
commit 1460856642

@ -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