diff options
author | David Robillard <d@drobilla.net> | 2017-12-29 14:21:38 -0500 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2017-12-29 14:21:38 -0500 |
commit | 7be5489bdd166cdbc9fde5ded4c90f724f005ffd (patch) | |
tree | 73d9b45a4b59559f024b3176c1206495d2e92862 /src/world.c | |
parent | da6d53f9e52fc05fdd33052f70406c2c0fd508fe (diff) | |
download | lilv-7be5489bdd166cdbc9fde5ded4c90f724f005ffd.tar.gz lilv-7be5489bdd166cdbc9fde5ded4c90f724f005ffd.tar.bz2 lilv-7be5489bdd166cdbc9fde5ded4c90f724f005ffd.zip |
Fix inconsistent parameter names
Diffstat (limited to 'src/world.c')
-rw-r--r-- | src/world.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/world.c b/src/world.c index b755724..1858569 100644 --- a/src/world.c +++ b/src/world.c @@ -168,21 +168,21 @@ lilv_world_free(LilvWorld* world) LILV_API void lilv_world_set_option(LilvWorld* world, - const char* option, + const char* uri, const LilvNode* value) { - if (!strcmp(option, LILV_OPTION_DYN_MANIFEST)) { + if (!strcmp(uri, LILV_OPTION_DYN_MANIFEST)) { if (lilv_node_is_bool(value)) { world->opt.dyn_manifest = lilv_node_as_bool(value); return; } - } else if (!strcmp(option, LILV_OPTION_FILTER_LANG)) { + } else if (!strcmp(uri, LILV_OPTION_FILTER_LANG)) { if (lilv_node_is_bool(value)) { world->opt.filter_language = lilv_node_as_bool(value); return; } } - LILV_WARNF("Unrecognized or invalid option `%s'\n", option); + LILV_WARNF("Unrecognized or invalid option `%s'\n", uri); } LILV_API LilvNodes* |