changeset 3789:0f5fecede1c6

use tf_get_fieldref() in a place where a mowgli_dictionary lookup was used instead.
author William Pitcock <nenolod@atheme.org>
date Fri, 19 Oct 2007 02:33:39 -0500
parents a76b55624e51
children 9121baaf0190
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	Fri Oct 19 02:20:28 2007 -0500
+++ b/src/audacious/tuple_compiler.c	Fri Oct 19 02:33:39 2007 -0500
@@ -644,7 +644,7 @@
         break;
       
       case OP_EXISTS:
-        if (mowgli_dictionary_retrieve(tuple->dict, ctx->variables[curr->var[0]]->name)) {
+        if (tf_get_fieldref(ctx->variables[curr->var[0]], tuple)) {
           if (!tuple_formatter_eval_do(ctx, curr->children, tuple, res, resmax, reslen))
             return FALSE;
         }