summaryrefslogtreecommitdiff
path: root/apps/plugins/lib/configfile.c
diff options
context:
space:
mode:
authorNils Wallménius <nils@rockbox.org>2007-09-10 09:46:36 +0000
committerNils Wallménius <nils@rockbox.org>2007-09-10 09:46:36 +0000
commit04b3435afd032766a8ac93b2904166499e62c7a4 (patch)
tree85267d62d97a3ee667fcd17b5c9f22bc5ab9da65 /apps/plugins/lib/configfile.c
parentcd5ad2ff6936c8f30fa7a8a78883822348052633 (diff)
downloadrockbox-04b3435afd032766a8ac93b2904166499e62c7a4.zip
rockbox-04b3435afd032766a8ac93b2904166499e62c7a4.tar.gz
rockbox-04b3435afd032766a8ac93b2904166499e62c7a4.tar.bz2
rockbox-04b3435afd032766a8ac93b2904166499e62c7a4.tar.xz
Clean up hard-coded paths
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14662 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/lib/configfile.c')
-rw-r--r--apps/plugins/lib/configfile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/lib/configfile.c b/apps/plugins/lib/configfile.c
index 54c067c..0fbba81 100644
--- a/apps/plugins/lib/configfile.c
+++ b/apps/plugins/lib/configfile.c
@@ -33,7 +33,7 @@ void get_cfg_filename(char* buf, int buf_len, const char* filename)
s = cfg_rb->strrchr(buf, '/');
if (!s) /* should never happen */
{
- cfg_rb->snprintf(buf, buf_len, "/.rockbox/rocks/%s", filename);
+ cfg_rb->snprintf(buf, buf_len, PLUGIN_DIR "/%s", filename);
}
else
{