Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathan Letwory <nathan@letworyinteractive.com>2010-07-06 10:43:21 +0400
committerNathan Letwory <nathan@letworyinteractive.com>2010-07-06 10:43:21 +0400
commitbb626c3963c36a47d3aff5b20c3c8659244e1ca9 (patch)
tree58f1454265b297019f5c161cf5ee6736d0283995 /source/blender
parentd37bae5bd1b4789aea4996027d9291edb2344aca (diff)
give an actually existing buffer instead of potential NULL
Diffstat (limited to 'source/blender')
-rw-r--r--source/blender/blenlib/intern/path_util.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenlib/intern/path_util.c b/source/blender/blenlib/intern/path_util.c
index 36348f0cbac..772782e5467 100644
--- a/source/blender/blenlib/intern/path_util.c
+++ b/source/blender/blenlib/intern/path_util.c
@@ -752,9 +752,9 @@ char *BLI_gethome(void) {
/* 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);
}