code cleanup: use single define for undo string size, was 64 mostly, but 512 in the UI.
[blender-staging.git] / source / blender / blenkernel / intern / blender.c
index 04b135df798501262ab19979697482745d81d07d..09519f68415db5f956706465c74ab1496395b81e 100644 (file)
@@ -463,11 +463,10 @@ int blender_test_break(void)
 
 #define UNDO_DISK   0
 
-#define MAXUNDONAME 64
 typedef struct UndoElem {
        struct UndoElem *next, *prev;
        char str[FILE_MAX];
-       char name[MAXUNDONAME];
+       char name[BKE_UNDO_STR_MAX];
        MemFile memfile;
        uintptr_t undosize;
 } UndoElem;