summaryrefslogtreecommitdiff
path: root/lib/rbcodec/codecs/libffmpegFLAC
diff options
context:
space:
mode:
authorChristian Soffke <christian.soffke@gmail.com>2021-03-01 10:19:20 +0100
committerChristian Soffke <christian.soffke@gmail.com>2021-03-01 13:33:43 +0100
commit640b14c08ccc885817cc697bfd1cde24479b8126 (patch)
tree4a0eab3de282afc4136ee51f91ea0bd338457d44 /lib/rbcodec/codecs/libffmpegFLAC
parent670812a44a3aed7f142548c2cfa5a5b36381b1a8 (diff)
downloadrockbox-640b14c08ccc885817cc697bfd1cde24479b8126.tar.gz
rockbox-640b14c08ccc885817cc697bfd1cde24479b8126.zip
Fix inability to reset filetype colors without restarting
0ce42df prevented read_color_theme_file() from being executed when applying settings (from a cfg file) if the filetype colors setting was set to "-". Resetting custom filetype colors happens in that function though and thus wouldn't work. You had to restart Rockbox for the setting to be applied (at which point read_color_theme_file() is called from filetype_init() which is called by the init() function in main.c) The safety check has been moved from settings.c directly into read_color_theme_file(). This has the added advantage that it will also apply during the init process where there existed no check before (prevents the problem mentioned in 2e3a8c7). Change-Id: I547fe180f0bac79889bf2c44778bb1cc4f9d4307
Diffstat (limited to 'lib/rbcodec/codecs/libffmpegFLAC')
0 files changed, 0 insertions, 0 deletions