[Gridflow-cvs] [svn] commit: r4066 - /trunk/gridflow.c

gridflow-cvs at artengine.ca gridflow-cvs at artengine.ca
Fri Aug 22 11:04:16 EDT 2008


Author: claude
Date: Fri Aug 22 11:04:15 2008
New Revision: 4066

Log:
add paths correctly even when paths are empty

Modified:
    trunk/gridflow.c

Modified: trunk/gridflow.c
==============================================================================
--- trunk/gridflow.c (original)
+++ trunk/gridflow.c Fri Aug 22 11:04:15 2008
@@ -750,9 +750,9 @@
 extern "C" void namelist_append_files(t_namelist *, char *);
 static void add_to_path(char *dir) {
 	char bof[1024];
-	sprintf(bof,"%s/abstractions",dir);        namelist_append_files(sys_searchpath,bof);
-	sprintf(bof,"%s/deprecated",dir);          namelist_append_files(sys_searchpath,bof);
-	sprintf(bof,"%s/doc/flow_classes",dir);    namelist_append_files(sys_helppath,  bof);
+	sprintf(bof,"%s/abstractions",dir);        sys_searchpath = namelist_append_files(sys_searchpath,bof);
+	sprintf(bof,"%s/deprecated",dir);          sys_searchpath = namelist_append_files(sys_searchpath,bof);
+	sprintf(bof,"%s/doc/flow_classes",dir);    sys_helppath   = namelist_append_files(sys_helppath,  bof);
 }
 
 //----------------------------------------------------------------



More information about the Gridflow-cvs mailing list