Browse Source

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

swissnorp 4 years ago
parent
commit
5804761b5d
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
 
45
 
46
   #if HAS_DISPLAY
46
   #if HAS_DISPLAY
47
     if (active_object >= 0)
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
     else
49
     else
50
       ui.reset_status();
50
       ui.reset_status();
51
   #endif
51
   #endif

Loading…
Cancel
Save