diff options
Diffstat (limited to 'source/blender/blenlib/intern/path_util.c')
-rw-r--r-- | source/blender/blenlib/intern/path_util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenlib/intern/path_util.c b/source/blender/blenlib/intern/path_util.c index f91c38b8271..2cea9c21a57 100644 --- a/source/blender/blenlib/intern/path_util.c +++ b/source/blender/blenlib/intern/path_util.c @@ -1175,7 +1175,7 @@ void BLI_join_dirfile(char *string, const char *dir, const char *file) /* like pythons os.path.basename( ) */ char *BLI_path_basename(char *path) { - const char *filename= BLI_last_slash(path); + char *filename= BLI_last_slash(path); return filename ? filename + 1 : path; } |