summaryrefslogtreecommitdiff
path: root/apps/settings.c
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2011-01-26 07:46:02 +0000
committerThomas Martitz <kugel@rockbox.org>2011-01-26 07:46:02 +0000
commit044de86d81cd1aa02c3604922cee8b9296f58c22 (patch)
treeda2a1c8ea4cb2936cea7a84bd208b88790b99d92 /apps/settings.c
parent4c385729975db3dc5f89d260a34ac7d48cf7fb08 (diff)
Fix FS#11904, filename generation was lacking a slash.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29140 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/settings.c')
-rw-r--r--apps/settings.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/settings.c b/apps/settings.c
index f01b599f9a..e491c5b6f2 100644
--- a/apps/settings.c
+++ b/apps/settings.c
@@ -888,7 +888,7 @@ void settings_apply(bool read_disk)
#ifdef HAVE_REMOTE_LCD
if ( global_settings.remote_font_file[0]
&& global_settings.remote_font_file[0] != '-') {
- snprintf(buf, sizeof buf, FONT_DIR "%s.fnt",
+ snprintf(buf, sizeof buf, FONT_DIR "/%s.fnt",
global_settings.remote_font_file);
CHART2(">font_load_remoteui ", global_settings.remote_font_file);
rc = font_load_remoteui(buf);