|
@@ -120,10 +120,10 @@ private:
|
120
|
120
|
char **sortshort, **sortnames;
|
121
|
121
|
#else
|
122
|
122
|
char sortshort[SDSORT_LIMIT][FILENAME_LENGTH];
|
123
|
|
- char sortnames[SDSORT_LIMIT][FILENAME_LENGTH];
|
|
123
|
+ char sortnames[SDSORT_LIMIT][LONG_FILENAME_LENGTH];
|
124
|
124
|
#endif
|
125
|
125
|
#elif DISABLED(SDSORT_USES_STACK)
|
126
|
|
- char sortnames[SDSORT_LIMIT][FILENAME_LENGTH];
|
|
126
|
+ char sortnames[SDSORT_LIMIT][LONG_FILENAME_LENGTH];
|
127
|
127
|
#endif
|
128
|
128
|
|
129
|
129
|
// Folder sorting uses an isDir array when caching items.
|