diff options
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) |