|
|
|
@ -55,9 +55,11 @@ void AboutScreen::onRedraw(draw_mode_t) {
|
|
|
|
|
#define _INSET_POS(x,y,w,h) x + w/10, y, w - w/5, h
|
|
|
|
|
#define INSET_POS(pos) _INSET_POS(pos)
|
|
|
|
|
|
|
|
|
|
char about_str[
|
|
|
|
|
strlen_P(GET_TEXT(MSG_ABOUT_TOUCH_PANEL_2)) +
|
|
|
|
|
strlen_P(TOOLHEAD_NAME) + 1
|
|
|
|
|
char about_str[1
|
|
|
|
|
+ strlen_P(GET_TEXT(MSG_ABOUT_TOUCH_PANEL_2))
|
|
|
|
|
#ifdef TOOLHEAD_NAME
|
|
|
|
|
+ strlen_P(TOOLHEAD_NAME)
|
|
|
|
|
#endif
|
|
|
|
|
];
|
|
|
|
|
#ifdef TOOLHEAD_NAME
|
|
|
|
|
// If MSG_ABOUT_TOUCH_PANEL_2 has %s, substitute in the toolhead name.
|
|
|
|
|