From 6213cc1bf403fd6e566922f0ace191e94e6287d5 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Mon, 20 Apr 2009 21:23:05 +0000 Subject: 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 --- externals/loaders/libdir.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'externals/loaders') 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); -- cgit v1.2.1