mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-06-07 19:01:54 -07:00
Case insensitive file browser list
This commit is contained in:
@@ -88,7 +88,7 @@ static int ArchiveFile_t_cmp(const ArchiveFile_t* a, const ArchiveFile_t* b) {
|
||||
return -1;
|
||||
}
|
||||
|
||||
return furi_string_cmp(a->path, b->path);
|
||||
return furi_string_cmpi(a->path, b->path);
|
||||
}
|
||||
|
||||
#define M_OPL_ArchiveFile_t() \
|
||||
|
||||
@@ -84,7 +84,7 @@ static int BrowserItem_t_cmp(const BrowserItem_t* a, const BrowserItem_t* b) {
|
||||
return -1;
|
||||
}
|
||||
|
||||
return furi_string_cmp(a->path, b->path);
|
||||
return furi_string_cmpi(a->path, b->path);
|
||||
}
|
||||
|
||||
#define M_OPL_BrowserItem_t() \
|
||||
|
||||
Reference in New Issue
Block a user