Browse Source

Fix SDCARD_SORT_ALPHA on Ender 3 V2 (#20443)

vanilla_fb_2.0.x
leodoener 4 years ago
committed by Scott Lahteine
parent
commit
d0c2b643f8
  1. 2
      Marlin/src/lcd/dwin/e3v2/dwin.cpp

2
Marlin/src/lcd/dwin/e3v2/dwin.cpp

@ -1690,7 +1690,7 @@ inline void Draw_SDItem(const uint16_t item, int16_t row=-1) {
return; return;
} }
card.getfilename_sorted(item - is_subdir); card.getfilename_sorted(SD_ORDER(item - is_subdir, card.get_num_Files()));
char * const name = card.longest_filename(); char * const name = card.longest_filename();
#if ENABLED(SCROLL_LONG_FILENAMES) #if ENABLED(SCROLL_LONG_FILENAMES)

Loading…
Cancel
Save