Fix #36038: Auto Keying warning message is clamped in Japanese
authorSv. Lockal <lockalsash@gmail.com>
Sat, 6 Jul 2013 20:42:24 +0000 (20:42 +0000)
committerSv. Lockal <lockalsash@gmail.com>
Sat, 6 Jul 2013 20:42:24 +0000 (20:42 +0000)
source/blender/editors/transform/transform.c

index 5ad5636bb212f62376a4c1380512bd78c9d19d7e..bf81e0ac766cd870f89f379b56c14c83e0f611ae 100644 (file)
@@ -1676,9 +1676,9 @@ static void drawAutoKeyWarning(TransInfo *UNUSED(t), ARegion *ar)
         */
        UI_ThemeColorShade(TH_TEXT_HI, -50);
 #ifdef WITH_INTERNATIONAL
-       BLF_draw_default(xco, ar->winy - 17, 0.0f, printable, sizeof(printable));
+       BLF_draw_default(xco, ar->winy - 17, 0.0f, printable, BLF_DRAW_STR_DUMMY_MAX);
 #else
-       BLF_draw_default_ascii(xco, ar->winy - 17, 0.0f, printable, sizeof(printable));
+       BLF_draw_default_ascii(xco, ar->winy - 17, 0.0f, printable, BLF_DRAW_STR_DUMMY_MAX);
 #endif
        
        /* autokey recording icon... */