Explorar el Código

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

swissnorp hace 5 años
padre
commit
37b03dea8d
No account linked to committer's email address
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1
    1
      Marlin/src/feature/cancel_object.cpp

+ 1
- 1
Marlin/src/feature/cancel_object.cpp Ver fichero

@@ -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…
Cancelar
Guardar