diff src/audacious/tuple_compiler.c @ 3983:c4295265f61d

Ooooops, another stupid bug - accidentally ${(empty)?..} was compiled into OP_EXISTS ..
author Matti Hamalainen <ccr@tnsp.org>
date Thu, 22 Nov 2007 14:55:16 +0200
parents 7afbcd87cd65
children 10e7c823462d
line wrap: on
line diff
--- a/src/audacious/tuple_compiler.c	Thu Nov 22 05:03:51 2007 -0600
+++ b/src/audacious/tuple_compiler.c	Thu Nov 22 14:55:16 2007 +0200
@@ -445,7 +445,7 @@
               if (tc_get_item(ctx, &c, tmps1, MAX_STR, ':', &literal, "tag", item)) {
                 c++;
                 tmp = tuple_evalnode_new();
-                tmp->opcode = OP_EXISTS;
+                tmp->opcode = OP_IS_EMPTY;
                 if ((tmp->var[0] = tc_get_variable(ctx, tmps1, VAR_FIELD)) < 0) {
                   tuple_error(ctx, "Invalid variable '%s' in '%s'.\n", tmps1, expr);
                   goto ret_error;