Skip to content

Commit

Permalink
Fix Cancel Objects index display (zero-based) (MarlinFirmware#18841)
Browse files Browse the repository at this point in the history
  • Loading branch information
swissnorp authored and thinkyhead committed Jul 29, 2020
1 parent 3dd21a2 commit 5804761
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Marlin/src/feature/cancel_object.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5804761

Please sign in to comment.