changeset 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 bd8de2a3cbea
children bf5c5dea45dc
files src/audacious/tuple_compiler.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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;