changeset 3339:c23513d0ee17 trunk

adjusted comments for == and != tuple operators
author Giacomo Lozito <james@develia.org>
date Sun, 12 Aug 2007 17:23:21 +0200
parents 07ed916b7176
children a0c93cb34598
files src/audacious/tuple_formatter.c
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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 <arg1> (a tuple field) and <arg2> (a tuple field) match. */
+/* builtin-keyword: ${==arg1,arg2}, returns TRUE if <arg1> and <arg2> match.
+   <arg1> and <arg2> 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 <arg1> and <arg2> don't match. */
+/* builtin-keyword: ${!=arg1,arg2}. returns TRUE if <arg1> and <arg2> don't match.
+   <arg1> and <arg2> can also be raw text, which should be enclosed in "double quotes". */
 static gboolean
 tuple_formatter_expression_nonmatch(Tuple *tuple, const gchar *expression)
 {