Fix display issue with SD_ALPHA_SORT caching

This commit is contained in:
Scott Lahteine 2017-10-07 15:07:05 -05:00 committed by GitHub
parent 97e6663bb3
commit a6e95c7d25

View File

@ -120,10 +120,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.