Browse Source

Fix display issue with SD_SORT_ALPHA cached names

pull/1/head
Scott Lahteine 7 years ago
committed by GitHub
parent
commit
12aa1b999a
  1. 4
      Marlin/src/sd/cardreader.h

4
Marlin/src/sd/cardreader.h

@ -117,10 +117,10 @@ private:
char **sortshort, **sortnames;
#else
char sortshort[SDSORT_LIMIT][FILENAME_LENGTH];
char sortnames[SDSORT_LIMIT][FILENAME_LENGTH];
char sortnames[SDSORT_LIMIT][LONG_FILENAME_LENGTH];
#endif
#elif DISABLED(SDSORT_USES_STACK)
char sortnames[SDSORT_LIMIT][FILENAME_LENGTH];
char sortnames[SDSORT_LIMIT][LONG_FILENAME_LENGTH];
#endif
// Folder sorting uses an isDir array when caching items.

Loading…
Cancel
Save