Browse Source

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

swissnorp 4 years ago
parent
commit
37b03dea8d
No account linked to committer's email address
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Marlin/src/feature/cancel_object.cpp

+ 1
- 1
Marlin/src/feature/cancel_object.cpp View File

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

Loading…
Cancel
Save