diff Plugins/Input/timidity/src/xmms-timidity.c @ 373:7e81e9ef40f2 trunk

[svn] Add parenthesis around assignment used as truth value.
author chainsaw
date Sat, 31 Dec 2005 17:35:02 -0800
parents f0cbbb4071a4
children c7119bdbcc76
line wrap: on
line diff
--- a/Plugins/Input/timidity/src/xmms-timidity.c	Sat Dec 31 17:31:38 2005 -0800
+++ b/Plugins/Input/timidity/src/xmms-timidity.c	Sat Dec 31 17:35:02 2005 -0800
@@ -233,7 +233,7 @@
 int xmmstimid_is_our_file(char *filename) {
 	VFSFile *file;
 	gchar magic[4];
-	if (file = vfs_fopen(filename, "rb")) {
+	if ((file = vfs_fopen(filename, "rb"))) {
 		vfs_fread(magic, 1, 4, file);
 		if (!strncmp(magic, "MThd", 4)) {
 			vfs_fclose(file);