# HG changeset patch # User Giacomo Lozito # Date 1186932201 -7200 # Node ID c23513d0ee17cd1f37b10be95ce1650e613ea831 # Parent 07ed916b7176888dc619437c5922edaa38ac0dde adjusted comments for == and != tuple operators diff -r 07ed916b7176 -r c23513d0ee17 src/audacious/tuple_formatter.c --- a/src/audacious/tuple_formatter.c Sun Aug 12 16:58:43 2007 +0200 +++ b/src/audacious/tuple_formatter.c Sun Aug 12 17:23:21 2007 +0200 @@ -380,7 +380,8 @@ return (tuple_get_value_type(tuple, expression) != TUPLE_UNKNOWN) ? TRUE : FALSE; } -/* builtin-keyword: ${==arg1,arg2}, returns TRUE if (a tuple field) and (a tuple field) match. */ +/* builtin-keyword: ${==arg1,arg2}, returns TRUE if and match. + and can also be raw text, which should be enclosed in "double quotes". */ static gboolean tuple_formatter_expression_match(Tuple *tuple, const gchar *expression) { @@ -446,7 +447,8 @@ return ret ? FALSE : TRUE; } -/* builtin-keyword: ${!=arg1,arg2}. returns TRUE if and don't match. */ +/* builtin-keyword: ${!=arg1,arg2}. returns TRUE if and don't match. + and can also be raw text, which should be enclosed in "double quotes". */ static gboolean tuple_formatter_expression_nonmatch(Tuple *tuple, const gchar *expression) {