diff options
author | Berke Viktor <bviktor@hexchat.org> | 2013-04-28 04:12:00 +0200 |
---|---|---|
committer | Berke Viktor <bviktor@hexchat.org> | 2013-04-28 04:12:00 +0200 |
commit | a3ba8d575e972ec1ee18b29007c58276625e77d3 (patch) | |
tree | d24cef9943468d4704dfcdce4aff14fd4e7dbce3 /src/common/cfgfiles.c | |
parent | ea48d18130e6266a8492ff53a459f3dc68b387e9 (diff) |
Store just the filename if the sound file comes from the default sound dir
And get rid of some hardcoding while we're at it
Diffstat (limited to 'src/common/cfgfiles.c')
-rw-r--r-- | src/common/cfgfiles.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/cfgfiles.c b/src/common/cfgfiles.c index 4ceb35b2..4e7dad5f 100644 --- a/src/common/cfgfiles.c +++ b/src/common/cfgfiles.c @@ -840,7 +840,7 @@ load_config (void) g_mkdir (buf, 0700); g_free (buf); - buf = g_build_filename (get_xdir (), "sounds", NULL); + buf = g_build_filename (get_xdir (), HEXCHAT_SOUND_DIR, NULL); g_mkdir (buf, 0700); g_free (buf); } |