changeset 1243:5106f40597a3

fixed possible segfault
author nadvornik
date Tue, 20 Jan 2009 22:29:31 +0000
parents 187e6096cc6c
children b2d98b7c26c1
files src/metadata.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/metadata.c	Sun Jan 11 21:28:03 2009 +0000
+++ b/src/metadata.c	Tue Jan 20 22:29:31 2009 +0000
@@ -171,7 +171,7 @@
 {
 	const gchar **k = keys;
 	
-	while (k)
+	while (*k)
 		{
 		if (strcmp(key, *k) == 0) return TRUE;
 		k++;