diff options
author | waker <wakeroid@gmail.com> | 2009-08-30 17:25:24 +0200 |
---|---|---|
committer | waker <wakeroid@gmail.com> | 2009-08-30 17:25:24 +0200 |
commit | a6f5aed52eadcea6df9581f931a75826cebf9df9 (patch) | |
tree | 862f6c3f34cb65abcfbcf749c732182b2cc047ee /plugins/lastfm | |
parent | 37b0ce345c9a7fbc383ef69df4e8600e37216ea0 (diff) |
better config dir handling
Diffstat (limited to 'plugins/lastfm')
-rw-r--r-- | plugins/lastfm/lastfm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/lastfm/lastfm.c b/plugins/lastfm/lastfm.c index d637b61b..f6fbf7e2 100644 --- a/plugins/lastfm/lastfm.c +++ b/plugins/lastfm/lastfm.c @@ -659,7 +659,7 @@ lastfm_start (void) { #endif // }}} - snprintf (config, 1024, "%s/.config/deadbeef/lastfm", getenv ("HOME")); + snprintf (config, 1024, "%s/lastfm", deadbeef->get_config_dir ()); FILE *fp = fopen (config, "rt"); if (!fp) { fprintf (stderr, "lastfm: failed open %s\n", config); |