Mercurial > audlegacy
diff src/audacious/tuple_compiler.c @ 3793:db6cb4048a74
Return empty string if expr is NULL.
| author | Matti Hamalainen <ccr@tnsp.org> |
|---|---|
| date | Fri, 19 Oct 2007 12:12:27 +0300 |
| parents | f31e93cd8f2f |
| children | 17fb5e598cfc |
line wrap: on
line diff
--- 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);
