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