mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
Don't load the colours file if it's set to '' (partial fix for FS#11847)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28949 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
a6b611a6d6
commit
0ce42df073
1 changed files with 2 additions and 1 deletions
|
@ -927,7 +927,8 @@ void settings_apply(bool read_disk)
|
|||
CHART("<icons_init");
|
||||
|
||||
#ifdef HAVE_LCD_COLOR
|
||||
if (global_settings.colors_file[0])
|
||||
if (global_settings.colors_file[0]
|
||||
&& global_settings.colors_file[0] != '-')
|
||||
{
|
||||
CHART(">read_color_theme_file");
|
||||
read_color_theme_file();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue