aboutsummaryrefslogtreecommitdiff
path: root/externals
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2009-04-20 21:23:05 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2009-04-20 21:23:05 +0000
commit6213cc1bf403fd6e566922f0ace191e94e6287d5 (patch)
tree22f6a8ab13b723f89edf10acf602045973c7f0c8 /externals
parent423b2d2188321cc8773b7c1027ebd201c20ae7e3 (diff)
fixed stupid bug where it would only add incomplete paths instead of complete, there was a ! where there should not have been
svn path=/trunk/; revision=11075
Diffstat (limited to 'externals')
-rw-r--r--externals/loaders/libdir.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/externals/loaders/libdir.c b/externals/loaders/libdir.c
index c48f9b7a..942464d1 100644
--- a/externals/loaders/libdir.c
+++ b/externals/loaders/libdir.c
@@ -64,9 +64,9 @@ static int libdir_loader(t_canvas *canvas, char *classname)
return (0);
}
close(fd);
- if(! sys_isabsolutepath(dirbuf))
- canvasenvironment->ce_path = namelist_append(canvasenvironment->ce_path,
- dirbuf, 0);
+ if(sys_isabsolutepath(dirbuf)) // only include actual full paths
+ canvasenvironment->ce_path = namelist_append(canvasenvironment->ce_path,
+ dirbuf, 0);
if(sys_verbose)
post("libdir_loader: added '%s' to the canvas-local objectclass path",
classname);