1
0
Fork 0
forked from len0rd/rockbox

[Bugfix] diacritic.c MRU discards an entry when slot available

a new slot gets added but it is set to 0 and an entry gets discarded
instead set it to the last entry read

Change-Id: I3d6f9b73030c8a5083d299c99314f9c40052689a
This commit is contained in:
William Wilgus 2023-04-24 23:10:11 -04:00
parent 67b98292a3
commit f4c95c70f9

View file

@ -232,7 +232,10 @@ bool is_diacritic(const unsigned short char_code, bool *is_rtl)
/* Add MRU entry */
if (mru_len < MRU_MAX_LEN)
{
diacritic_mru[mru_len] = i;
mru_len++;
}
Found: