[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [30013] trunk/blender/source/blender/ blenlib/intern/path_util.c: give an actually existing buffer instead of potential NULL
Nathan Letwory
nathan at letworyinteractive.com
Tue Jul 6 08:43:21 CEST 2010
Revision: 30013
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=30013
Author: jesterking
Date: 2010-07-06 08:43:21 +0200 (Tue, 06 Jul 2010)
Log Message:
-----------
give an actually existing buffer instead of potential NULL
Modified Paths:
--------------
trunk/blender/source/blender/blenlib/intern/path_util.c
Modified: trunk/blender/source/blender/blenlib/intern/path_util.c
===================================================================
--- trunk/blender/source/blender/blenlib/intern/path_util.c 2010-07-06 06:24:02 UTC (rev 30012)
+++ trunk/blender/source/blender/blenlib/intern/path_util.c 2010-07-06 06:43:21 UTC (rev 30013)
@@ -752,9 +752,9 @@
/* else, check install dir (path containing blender.exe) */
- if(BLI_getInstallationDir(ret))
+ if(BLI_getInstallationDir(dir))
{
- sprintf(dir, "%s", ret, blender_version_decimal());
+ sprintf(dir, "%s", dir, blender_version_decimal());
if (BLI_exists(dir)) return(dir);
}
More information about the Bf-blender-cvs
mailing list