diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2009-04-20 21:23:05 +0000 |
---|---|---|
committer | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2009-04-20 21:23:05 +0000 |
commit | 6213cc1bf403fd6e566922f0ace191e94e6287d5 (patch) | |
tree | 22f6a8ab13b723f89edf10acf602045973c7f0c8 /externals/loaders | |
parent | 423b2d2188321cc8773b7c1027ebd201c20ae7e3 (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/loaders')
-rw-r--r-- | externals/loaders/libdir.c | 6 |
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); |