Commit: 894dbda575515d75951a30546b62c9796adf9c72
Author: Bastien Montagne
Date:   Wed Dec 3 10:42:15 2014 +0100
Branches: master
https://developer.blender.org/rB894dbda575515d75951a30546b62c9796adf9c72

Fix potential bug (though rather unlikely) - MAX_ID_NAME is 66 now!

===================================================================

M       source/blender/makesdna/DNA_space_types.h

===================================================================

diff --git a/source/blender/makesdna/DNA_space_types.h 
b/source/blender/makesdna/DNA_space_types.h
index dd661d0..6489853 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 */

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to