summaryrefslogtreecommitdiffstats
path: root/apps/settings.c
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2014-01-28 15:34:53 +0100
committerThomas Martitz <kugel@rockbox.org>2014-02-02 19:40:38 +0100
commit428f069a1f1da9fe5461d2c2359f3da1bfb63e0a (patch)
tree060c85a8f86fc2ba706c6ab6a41e05ccd39ebb65 /apps/settings.c
parent4ce39f7e73b1d1ca4ac5c906d9f9593f46872133 (diff)
downloadrockbox-428f069a1f1da9fe5461d2c2359f3da1bfb63e0a.tar.gz
rockbox-428f069a1f1da9fe5461d2c2359f3da1bfb63e0a.tar.bz2
rockbox-428f069a1f1da9fe5461d2c2359f3da1bfb63e0a.zip
talk: Remove superflous call to talk_init().
talk_init() is called by settings_apply() already which is called on boot. Doing it again means loading the voicefile a second time which isn't necessary. Change-Id: I4decd16401e63bf87338d3163c99d06d69fe3a3c
Diffstat (limited to 'apps/settings.c')
-rw-r--r--apps/settings.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/settings.c b/apps/settings.c
index e4a44dafe1..13dcb5cca9 100644
--- a/apps/settings.c
+++ b/apps/settings.c
@@ -971,10 +971,10 @@ void settings_apply(bool read_disk)
CHART(">lang_core_load");
lang_core_load(buf);
CHART("<lang_core_load");
- CHART(">talk_init");
- talk_init(); /* use voice of same language */
- CHART("<talk_init");
}
+ CHART(">talk_init");
+ talk_init(); /* use voice of same language */
+ CHART("<talk_init");
/* load the icon set */
CHART(">icons_init");