use BLI_strncpy and BLI_snprintf when the size of the string is known.
[blender-staging.git] / source / blender / blenfont / BLF_api.h
index 7490502c605190147f806edda8c8cecfba716819..a045f47cb40293717d15c478173f91fd1a874252 100644 (file)
@@ -198,6 +198,8 @@ void BLF_dir_free(char **dirs, int count);
 #define BLF_MATRIX (1<<4)
 #define BLF_ASPECT (1<<5)
 
+#define BLF_DRAW_STR_DUMMY_MAX 1024
+
 // XXX, bad design
 extern int blf_mono_font;
 extern int blf_mono_font_render; // dont mess drawing with render threads.