summaryrefslogtreecommitdiffstats
path: root/src/world.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-02-04 01:56:52 +0000
committerDavid Robillard <d@drobilla.net>2011-02-04 01:56:52 +0000
commit5467699b799690f3b4f98a78c316668b6871b935 (patch)
treeb00b4894ea4ef2558512e78a43e1dfa973422c61 /src/world.c
parent4f3316c9c7842c4c745291b6699afaade6b8531d (diff)
downloadlilv-5467699b799690f3b4f98a78c316668b6871b935.tar.gz
lilv-5467699b799690f3b4f98a78c316668b6871b935.tar.bz2
lilv-5467699b799690f3b4f98a78c316668b6871b935.zip
Tidy up code.
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2899 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/world.c')
-rw-r--r--src/world.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/world.c b/src/world.c
index 10cf279..af9fe78 100644
--- a/src/world.c
+++ b/src/world.c
@@ -560,10 +560,8 @@ slv2_world_load_plugin_classes(SLV2World world)
(const char*)sord_node_get_string(class_node)) < 0);
}
#endif
- SLV2PluginClass pclass = slv2_plugin_class_new(world,
- parent_node,
- class_node,
- (const char*)label);
+ SLV2PluginClass pclass = slv2_plugin_class_new(
+ world, parent_node, class_node, (const char*)label);
if (pclass) {
raptor_sequence_push(classes, pclass);
@@ -587,7 +585,7 @@ slv2_world_load_all(SLV2World world)
} else {
char default_path[sizeof(SLV2_DEFAULT_LV2_PATH)];
memcpy(default_path, SLV2_DEFAULT_LV2_PATH, sizeof(SLV2_DEFAULT_LV2_PATH));
- char* dir = default_path;
+ char* dir = default_path;
size_t lv2_path_len = 0;
while (*dir != '\0') {
char* colon = strchr(dir, ':');