summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-01-17 18:57:17 +0000
committerDavid Robillard <d@drobilla.net>2012-01-17 18:57:17 +0000
commitdd856a015d5344eac31c288b1e006d3090ed1f89 (patch)
tree40fa8fcec39a72ca9a67350b2d216d7cae30c40c
parentf5356014a3ea31f820c5df86270258b2a6c1be1f (diff)
downloadlilv-dd856a015d5344eac31c288b1e006d3090ed1f89.tar.gz
lilv-dd856a015d5344eac31c288b1e006d3090ed1f89.tar.bz2
lilv-dd856a015d5344eac31c288b1e006d3090ed1f89.zip
Tidy.
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3959 a436a847-0d15-0410-975c-d299462d15a1
-rw-r--r--src/util.c2
1 files changed, 1 insertions, 1 deletions
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);