summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/world.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/world.rst b/doc/world.rst
index 8b71165..e96c18f 100644
--- a/doc/world.rst
+++ b/doc/world.rst
@@ -39,7 +39,7 @@ For example, to set the LV2 path to only load plugins bundled in the application
.. code-block:: c
- LilvNode* lv2_path = lilv_new_file_uri(world, NULL, "/myapp/lv2");
+ LilvNode* lv2_path = lilv_new_string(world, "/myapp/lv2");
lilv_world_set_option(world, LILV_OPTION_LV2_PATH, lv2_path);