Fix potential bug (though rather unlikely) - MAX_ID_NAME is 66 now!
authorBastien Montagne <montagne29@wanadoo.fr>
Wed, 3 Dec 2014 09:42:15 +0000 (10:42 +0100)
committerBastien Montagne <montagne29@wanadoo.fr>
Wed, 3 Dec 2014 09:42:15 +0000 (10:42 +0100)
source/blender/makesdna/DNA_space_types.h

index dd661d00d546af059be5a3da02ce253c7670a978..6489853bbaa3e3e56bdeeee2aa4de0ef40a6cd7b 100644 (file)
@@ -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 */