Skip to content

Commit

Permalink
Fix Touch UI message strings (MarlinFirmware#16004)
Browse files Browse the repository at this point in the history
  • Loading branch information
marciot authored and LinoBarreca committed Dec 18, 2019
1 parent e984c3e commit 94ae90a
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,11 @@ void AboutScreen::onRedraw(draw_mode_t) {
char about_str[
strlen_P(GET_TEXT(FIRMWARE_FOR_TOOLHEAD)) +
strlen_P(TOOLHEAD_NAME) +
strlen_P(GET_TEXT(ABOUT_TOUCH_PANEL_2)) + 1
strlen_P(GET_TEXT(MSG_ABOUT_TOUCH_PANEL_2)) + 1
];

sprintf_P(about_str, GET_TEXT(FIRMWARE_FOR_TOOLHEAD), TOOLHEAD_NAME);
strcat_P (about_str, GET_TEXT(ABOUT_TOUCH_PANEL_2));
sprintf_P(about_str, GET_TEXT(MSG_FIRMWARE_FOR_TOOLHEAD), TOOLHEAD_NAME);
strcat_P (about_str, GET_TEXT(MSG_ABOUT_TOUCH_PANEL_2));
#endif

cmd.tag(2);
Expand Down

0 comments on commit 94ae90a

Please sign in to comment.