summaryrefslogtreecommitdiff
path: root/apps/settings.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/settings.c')
-rw-r--r--apps/settings.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/settings.c b/apps/settings.c
index ee7fa36d39..d419d4ae8b 100644
--- a/apps/settings.c
+++ b/apps/settings.c
@@ -1210,7 +1210,7 @@ void settings_apply(void)
1210#ifdef HAVE_LCD_BITMAP 1210#ifdef HAVE_LCD_BITMAP
1211 if ( global_settings.font_file[0] && 1211 if ( global_settings.font_file[0] &&
1212 global_settings.font_file[0] != 0xff ) { 1212 global_settings.font_file[0] != 0xff ) {
1213 snprintf(buf, sizeof buf, ROCKBOX_DIR FONT_DIR "/%s.fnt", 1213 snprintf(buf, sizeof buf, FONT_DIR "/%s.fnt",
1214 global_settings.font_file); 1214 global_settings.font_file);
1215 font_load(buf); 1215 font_load(buf);
1216 } 1216 }
@@ -1238,7 +1238,7 @@ void settings_apply(void)
1238 1238
1239 if ( global_settings.lang_file[0] && 1239 if ( global_settings.lang_file[0] &&
1240 global_settings.lang_file[0] != 0xff ) { 1240 global_settings.lang_file[0] != 0xff ) {
1241 snprintf(buf, sizeof buf, ROCKBOX_DIR LANG_DIR "/%s.lng", 1241 snprintf(buf, sizeof buf, LANG_DIR "/%s.lng",
1242 global_settings.lang_file); 1242 global_settings.lang_file);
1243 lang_load(buf); 1243 lang_load(buf);
1244 talk_init(); /* use voice of same language */ 1244 talk_init(); /* use voice of same language */
@@ -1742,12 +1742,12 @@ bool settings_save_config(void)
1742#endif 1742#endif
1743 1743
1744 if (global_settings.lang_file[0] != 0) 1744 if (global_settings.lang_file[0] != 0)
1745 fdprintf(fd, "lang: %s/%s.lng\r\n", ROCKBOX_DIR LANG_DIR, 1745 fdprintf(fd, "lang: %s/%s.lng\r\n", LANG_DIR,
1746 global_settings.lang_file); 1746 global_settings.lang_file);
1747 1747
1748#ifdef HAVE_LCD_BITMAP 1748#ifdef HAVE_LCD_BITMAP
1749 if (global_settings.font_file[0] != 0) 1749 if (global_settings.font_file[0] != 0)
1750 fdprintf(fd, "font: %s/%s.fnt\r\n", ROCKBOX_DIR FONT_DIR, 1750 fdprintf(fd, "font: %s/%s.fnt\r\n", FONT_DIR,
1751 global_settings.font_file); 1751 global_settings.font_file);
1752#endif 1752#endif
1753 1753