mirror of
https://github.com/ZoiteChat/zoitechat.git
synced 2026-03-18 19:50:18 +00:00
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
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user