Move beep to proper place

This commit is contained in:
Berke Viktor
2013-04-16 11:32:58 +02:00
parent 7e2ae20ecf
commit ccc8601624
4 changed files with 5 additions and 4 deletions

View File

@@ -674,9 +674,9 @@ fe_beep (session *sess)
if (!prefs.hex_gui_focus_omitalerts || !fe_gui_info (sess, 0) == 1)
{
#ifdef WIN32 /* keep this in sync with cfgfiles.c! */
beepfile = g_build_filename (HEXCHATSHAREDIR, "share", "beep.wav", NULL);
beepfile = g_build_filename (HEXCHATSHAREDIR, "share", "sounds", "beep.wav", NULL);
#else
beepfile = g_build_filename (HEXCHATSHAREDIR, "hexchat", "beep.wav", NULL);
beepfile = g_build_filename (HEXCHATSHAREDIR, "sounds", "freedesktop", "stereo", "hexchat_beep.wav", NULL);
#endif
sound_play (beepfile, TRUE, TRUE);
g_free (beepfile);