mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
Reset unknown file color when resetting filetype colors
The unknown file color is handled as a special case and also needs to be reset here Change-Id: I0446b7f6586c265dee37fef303f8564f22f06dd4
This commit is contained in:
parent
22cc4e4fcf
commit
7d78958f9d
1 changed files with 1 additions and 0 deletions
|
@ -257,6 +257,7 @@ void read_color_theme_file(void) {
|
|||
for (i = 0; i < MAX_FILETYPES; i++) {
|
||||
custom_colors[i] = -1;
|
||||
}
|
||||
unknown_file.color = -1;
|
||||
if (!global_settings.colors_file[0] || global_settings.colors_file[0] == '-')
|
||||
return;
|
||||
snprintf(buffer, MAX_PATH, THEME_DIR "/%s.colours",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue