code cleanup: use single define for undo string size, was 64 mostly, but 512 in the UI.
[blender-staging.git] / source / blender / blenkernel / BKE_blender.h
index 0e7bdbbb4dd53ca33e9ef1cf445516cdb8232407..1e67027ae8c211a972cb44c04ae1ee8fc8b3f0f6 100644 (file)
@@ -83,6 +83,8 @@ void BKE_userdef_free(void);
 void set_blender_test_break_cb(void (*func)(void) );
 int blender_test_break(void);
 
+#define BKE_UNDO_STR_MAX 64
+
 /* global undo */
 extern void BKE_write_undo(struct bContext *C, const char *name);
 extern void BKE_undo_step(struct bContext *C, int step);