From c6d955ade738815ec119ae76db32a3fcc1ac5d72 Mon Sep 17 00:00:00 2001 From: TingPing Date: Sat, 8 Dec 2012 05:18:16 -0500 Subject: fix playing sounds with sound_dir --- src/common/text.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/common/text.c') 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); -- cgit 1.4.1