From dd856a015d5344eac31c288b1e006d3090ed1f89 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Tue, 17 Jan 2012 18:57:17 +0000 Subject: Tidy. git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3959 a436a847-0d15-0410-975c-d299462d15a1 --- src/util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util.c b/src/util.c index 8079bab..2cffcfb 100644 --- a/src/util.c +++ b/src/util.c @@ -170,7 +170,7 @@ lilv_expand(const char* path) if (*s == '$') { // Hit $ (variable reference, e.g. $VAR_NAME) for (const char* t = s + 1; ; ++t) { - if (!*t || !(isupper(*t) || isdigit(*t) || *t == '_')) { + if (!*t || !isupper(*t) || !isdigit(*t) || *t != '_') { // Append preceding chunk out = strappend(out, &len, start, s - start); -- cgit v1.2.1