From: Keith F. <ven...@us...> - 2003-06-19 17:36:13
|
Update of /cvsroot/planeshift/planeshift/src/common/util In directory sc8-pr-cvs1:/tmp/cvs-serv18331 Modified Files: pscssetup.cpp Log Message: Fixed to work with CS cvs version 6/19. If you are anonymous checkout user, do NOT update PS until 6/20 at the earliest. Index: pscssetup.cpp =================================================================== RCS file: /cvsroot/planeshift/planeshift/src/common/util/pscssetup.cpp,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** pscssetup.cpp 13 Jun 2003 19:09:23 -0000 1.3 --- pscssetup.cpp 19 Jun 2003 17:36:11 -0000 1.4 *************** *** 103,109 **** strncpy(newpath, celpath, 1000); strcat(newpath, "/"); ! csAddLibraryPath(newpath); ! strcat(newpath, "lib/"); ! csAddLibraryPath(newpath); } else --- 103,109 ---- strncpy(newpath, celpath, 1000); strcat(newpath, "/"); ! iSCF::SCF->ScanPluginsPath(newpath); ! // strcat(newpath, "lib/"); ! // csAddLibraryPath(newpath); } else *************** *** 117,126 **** while (tok) { ! char path[1024]; ! strcpy(path,tok); ! strcat(path,"/"); ! csAddLibraryPath(path); ! strcat(path,"lib/"); ! csAddLibraryPath(path); tok = strtok(NULL,";"); } --- 117,127 ---- while (tok) { ! if (strstr(tok,"cel")) ! { ! char path[1024]; ! strcpy(path,tok); ! strcat(path,"/"); ! iSCF::SCF->ScanPluginsPath(path); ! } tok = strtok(NULL,";"); } |