diff options
author | Berke Viktor <bviktor@hexchat.org> | 2013-04-14 10:47:37 +0200 |
---|---|---|
committer | Berke Viktor <bviktor@hexchat.org> | 2013-04-14 10:47:37 +0200 |
commit | db582a4e5c51f8f83c0d952373b691400ff78178 (patch) | |
tree | da4f53e8254b074cec96ec9e197498c3a7cb85fc /src/common/text.c | |
parent | 059e4ec9c8d59f6b283bda3f007ae9d2fd29bc83 (diff) |
Remove sound_dir, it's pointless
Diffstat (limited to 'src/common/text.c')
-rw-r--r-- | src/common/text.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/text.c b/src/common/text.c index 8eabfec9..946ac542 100644 --- a/src/common/text.c +++ b/src/common/text.c @@ -2243,7 +2243,7 @@ sound_play (const char *file, gboolean quiet) } else { - wavfile = g_strdup_printf ("%s" G_DIR_SEPARATOR_S "%s", prefs.hex_sound_dir, file); + wavfile = g_build_filename (get_xdir (), "sounds", file, NULL); } if (g_access (wavfile, R_OK) == 0) |