summary refs log tree commit diff stats
diff options
context:
space:
mode:
-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);