[sword-cvs] sword/src/mgr swmgr.cpp,1.95,1.96

sword@www.crosswire.org sword@www.crosswire.org
Fri, 5 Dec 2003 14:44:35 -0700


Update of /usr/local/cvsroot/sword/src/mgr
In directory www:/tmp/cvs-serv8477/src/mgr

Modified Files:
	swmgr.cpp 
Log Message:


Index: swmgr.cpp
===================================================================
RCS file: /usr/local/cvsroot/sword/src/mgr/swmgr.cpp,v
retrieving revision 1.95
retrieving revision 1.96
diff -u -d -r1.95 -r1.96
--- swmgr.cpp	29 Aug 2003 19:02:45 -0000	1.95
+++ swmgr.cpp	5 Dec 2003 21:44:33 -0000	1.96
@@ -272,7 +272,7 @@
 	init();
 	
 	path = iConfigPath;
-	int len = strlen(iConfigPath);
+	int len = path.length();
 	if ((len < 1) || (iConfigPath[len-1] != '\\') && (iConfigPath[len-1] != '/'))
 		path += "/";
 	if (FileMgr::existsFile(path.c_str(), "mods.conf")) {