diff src/audacious/tuple_compiler.c @ 3498:9fcb90613e4f trunk

Added types to base tuples.
author Matti Hamalainen <ccr@tnsp.org>
date Fri, 07 Sep 2007 06:42:00 +0300
parents 174e9c75bb24
children 13bd2580ec18 4f54b90fc2ed
line wrap: on
line diff
--- a/src/audacious/tuple_compiler.c	Wed Sep 05 10:09:11 2007 +0300
+++ b/src/audacious/tuple_compiler.c	Fri Sep 07 06:42:00 2007 +0300
@@ -128,7 +128,7 @@
   /* Find fieldidx, if any */
   if (type == VAR_FIELD) {
     for (i = 0; i < FIELD_LAST && ref < 0; i++)
-      if (strcmp(tuple_fields[i], name) == 0) ref = i;
+      if (strcmp(tuple_fields[i].name, name) == 0) ref = i;
 
     tmp->fieldidx = ref;
   }