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:
Diffstat (limited to 'source/blender/blenlib/intern/path_util.c')
-rw-r--r--source/blender/blenlib/intern/path_util.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/blenlib/intern/path_util.c b/source/blender/blenlib/intern/path_util.c
index dc5ee984c25..33cd844f851 100644
--- a/source/blender/blenlib/intern/path_util.c
+++ b/source/blender/blenlib/intern/path_util.c
@@ -881,6 +881,7 @@ bool BLI_path_frame_get(char *path, int *r_frame, int *r_numdigits)
void BLI_path_frame_strip(char *path, char *r_ext)
{
+ *r_ext = '\0';
if (*path == '\0') {
return;
}