EDIT: Superficial improvements to file UI.

This commit is contained in:
Bobbi Webber-Manners 2020-09-02 00:21:01 -04:00
parent adea96fdb4
commit 26211b40f7

View File

@ -1988,7 +1988,10 @@ void file_ui_draw(uint8_t i, uint8_t first, uint8_t selected, uint8_t entries) {
gotoxy(5, i - first + 5);
if (i < entries) {
entry = (struct tabent*)iobuf + i;
sprintf(userentry, "%02x %s ", entry->type, entry->name);
sprintf(userentry, "%c%s%c ",
(entry->type == 0x0f ? '[' : ' '),
entry->name,
(entry->type == 0x0f ? ']' : ' '));
userentry[20] = '\0';
if (i == selected)
revers(1);