[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [12060] trunk/blender/source/blender/imbuf /intern/thumbs.c: fix compile on not-windows platforms, accidentally removed declaration

Andrea Weikert elubie at gmx.net
Mon Sep 17 13:07:28 CEST 2007


Revision: 12060
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=12060
Author:   elubie
Date:     2007-09-17 13:07:28 +0200 (Mon, 17 Sep 2007)

Log Message:
-----------
fix compile on not-windows platforms, accidentally removed declaration 
in warning fix.

Modified Paths:
--------------
    trunk/blender/source/blender/imbuf/intern/thumbs.c

Modified: trunk/blender/source/blender/imbuf/intern/thumbs.c
===================================================================
--- trunk/blender/source/blender/imbuf/intern/thumbs.c	2007-09-17 11:07:21 UTC (rev 12059)
+++ trunk/blender/source/blender/imbuf/intern/thumbs.c	2007-09-17 11:07:28 UTC (rev 12060)
@@ -69,7 +69,7 @@
 	/* 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





More information about the Bf-blender-cvs mailing list