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:
authorCampbell Barton <ideasman42@gmail.com>2008-02-27 13:02:40 +0300
committerCampbell Barton <ideasman42@gmail.com>2008-02-27 13:02:40 +0300
commit086e8b9b8fee1182f6880f9fc1025d7c8c99b7c4 (patch)
tree183b512b4413a9e87560ae571882f8a136cc0288 /source/blender/blenlib/intern/fileops.c
parentb226eb925b7306486e55998c790a3376c177bbef (diff)
Bugfix [#8328] Python scripts from user defined location doesn't load
http://projects.blender.org/tracker/index.php?func=detail&aid=8328&group_id=9&atid=125 last commit had mistakes but tested this to fix the bug. - Cam
Diffstat (limited to 'source/blender/blenlib/intern/fileops.c')
-rw-r--r--source/blender/blenlib/intern/fileops.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/blenlib/intern/fileops.c b/source/blender/blenlib/intern/fileops.c
index ad102bea80f..e5b11412aa1 100644
--- a/source/blender/blenlib/intern/fileops.c
+++ b/source/blender/blenlib/intern/fileops.c
@@ -119,6 +119,8 @@ void BLI_del_slash(char *string) {
#endif
string[len-1] = '\0';
len--;
+ } else {
+ break;
}
}
}