summary refs log tree commit diff stats
path: root/src/common/text.c
diff options
context:
space:
mode:
authorTingPing <tingping@tingping.se>2012-12-08 05:18:16 -0500
committerTingPing <tingping@tingping.se>2012-12-08 05:18:16 -0500
commitc6d955ade738815ec119ae76db32a3fcc1ac5d72 (patch)
tree4e7dea4133cda41282f370e7aec84fd2ffee98f5 /src/common/text.c
parent8e4d9c1f61e02af6e1b9ebbe8c8f6eeaa7b8aac2 (diff)
fix playing sounds with sound_dir
Diffstat (limited to 'src/common/text.c')
-rw-r--r--src/common/text.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/text.c b/src/common/text.c
index 3801d072..0b8f9d0b 100644
--- a/src/common/text.c
+++ b/src/common/text.c
@@ -2297,7 +2297,7 @@ sound_play (const char *file, gboolean quiet)
 	/* check for fullpath */
 	if (file[0] == '\\' || (((file[0] >= 'A' && file[0] <= 'Z') || (file[0] >= 'a' && file[0] <= 'z')) && file[1] == ':'))
 #else
-	if (file[0] != '/')
+	if (file[0] == '/')
 #endif
 	{
 		wavfile = g_strdup (file);