Fix Cancel Objects index display (zero-based) (#18841)

This commit is contained in:
swissnorp 2020-07-29 04:28:58 +02:00 committed by Scott Lahteine
parent 3dd21a2770
commit 5804761b5d

View file

@ -45,7 +45,7 @@ void CancelObject::set_active_object(const int8_t obj) {
#if HAS_DISPLAY
if (active_object >= 0)
ui.status_printf_P(0, PSTR(S_FMT " %i"), GET_TEXT(MSG_PRINTING_OBJECT), int(active_object + 1));
ui.status_printf_P(0, PSTR(S_FMT " %i"), GET_TEXT(MSG_PRINTING_OBJECT), int(active_object));
else
ui.reset_status();
#endif