diff options
author | TingPing <tingping@tingping.se> | 2012-12-08 05:18:16 -0500 |
---|---|---|
committer | TingPing <tingping@tingping.se> | 2012-12-08 05:18:16 -0500 |
commit | c6d955ade738815ec119ae76db32a3fcc1ac5d72 (patch) | |
tree | 4e7dea4133cda41282f370e7aec84fd2ffee98f5 | |
parent | 8e4d9c1f61e02af6e1b9ebbe8c8f6eeaa7b8aac2 (diff) |
fix playing sounds with sound_dir
-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 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); |