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:
authorBastien Montagne <montagne29@wanadoo.fr>2014-12-03 12:42:15 +0300
committerBastien Montagne <montagne29@wanadoo.fr>2014-12-03 12:42:15 +0300
commit894dbda575515d75951a30546b62c9796adf9c72 (patch)
tree46be0f383a8b0e9e05fce0f261b9660b21195006
parent47ebf96de47de4ae66cdc0ddf8f72a95ef8dd49d (diff)
Fix potential bug (though rather unlikely) - MAX_ID_NAME is 66 now!
-rw-r--r--source/blender/makesdna/DNA_space_types.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/makesdna/DNA_space_types.h b/source/blender/makesdna/DNA_space_types.h
index dd661d00d54..6489853bbaa 100644
--- a/source/blender/makesdna/DNA_space_types.h
+++ b/source/blender/makesdna/DNA_space_types.h
@@ -575,8 +575,9 @@ typedef enum eSpaceSeq_OverlayType {
/* Config and Input for File Selector */
typedef struct FileSelectParams {
char title[96]; /* title, also used for the text of the execute button */
- char dir[1056]; /* directory, FILE_MAX_LIBEXTRA, 1024 + 32, this is for extreme case when 1023 length path
+ char dir[1090]; /* directory, FILE_MAX_LIBEXTRA, 1024 + 66, this is for extreme case when 1023 length path
* needs to be linked in, where foo.blend/Armature need adding */
+ char pad_c1[2];
char file[256]; /* file */
char renamefile[256];
char renameedit[256]; /* annoying but the first is only used for initialization */