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:
authorAndrea Weikert <elubie@gmx.net>2005-11-05 16:09:43 +0300
committerAndrea Weikert <elubie@gmx.net>2005-11-05 16:09:43 +0300
commit629d954ef318c1aeb9ca6d04338fec767bbe23d5 (patch)
treef189c4dc6cb0e635bfc17d9b89e179f1fecb1900 /source/blender/blenlib/BLI_blenlib.h
parent1d1fd7cd7084efa6ba38edfbadc9dc34f016eab1 (diff)
Fix for #3316: do not convert slashes in the relname in BLI_make_file_string
Also fixed signature to const char* to indicate which parameters can be changed to make it a bit safer, because constant strings are passed into this function and changing them caused a crash.
Diffstat (limited to 'source/blender/blenlib/BLI_blenlib.h')
-rw-r--r--source/blender/blenlib/BLI_blenlib.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenlib/BLI_blenlib.h b/source/blender/blenlib/BLI_blenlib.h
index a66285182ac..15ab7825cf6 100644
--- a/source/blender/blenlib/BLI_blenlib.h
+++ b/source/blender/blenlib/BLI_blenlib.h
@@ -91,7 +91,7 @@ extern "C" {
/* BLI_util.h */
char *BLI_gethome(void);
-void BLI_make_file_string(char *relabase, char *string, char *dir, char *file);
+void BLI_make_file_string(const char *relabase, char *string, const char *dir, const char *file);
void BLI_make_exist(char *dir);
void BLI_split_dirfile(char *string, char *dir, char *file);
int BLI_testextensie(char *str, char *ext);