# HG changeset patch # User Matti Hamalainen # Date 1192785147 -10800 # Node ID db6cb4048a749c566d0e7786f51ed1e6cfc8ab0d # Parent f31e93cd8f2f58568729b5bdd5bbda7dbd186c63 Return empty string if expr is NULL. diff -r f31e93cd8f2f -r db6cb4048a74 src/audacious/tuple_compiler.c --- a/src/audacious/tuple_compiler.c Fri Oct 19 12:12:03 2007 +0300 +++ b/src/audacious/tuple_compiler.c Fri Oct 19 12:12:27 2007 +0300 @@ -757,7 +757,7 @@ assert(ctx != NULL); assert(tuple != NULL); - if (!expr) return NULL; + if (!expr) return res; tuple_formatter_eval_do(ctx, expr, tuple, &res, &resmax, &reslen);