[sword-cvs] sword/src/mgr localemgr.cpp,1.21,1.22

sword at www.crosswire.org sword at www.crosswire.org
Wed May 19 12:38:47 MST 2004


Committed by: joachim

Update of /cvs/core/sword/src/mgr
In directory www:/tmp/cvs-serv3211/src/mgr

Modified Files:
	localemgr.cpp 
Log Message:
SWLog used now

Index: localemgr.cpp
===================================================================
RCS file: /cvs/core/sword/src/mgr/localemgr.cpp,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -d -r1.21 -r1.22
--- localemgr.cpp	7 May 2004 18:00:10 -0000	1.21
+++ localemgr.cpp	19 May 2004 19:38:45 -0000	1.22
@@ -115,8 +115,6 @@
 
 	if (configPath)
 		delete [] configPath;
-	
-
 }
 
 
@@ -133,7 +131,7 @@
 	struct dirent *ent;
 	SWBuf newmodfile;
 	LocaleMap::iterator it;
-	printf("LocaleMgr::loadConfigDir loading %s", ipath);
+	SWLog::getSystemLog()->logError("LocaleMgr::loadConfigDir loading %s", ipath);
  
 	if ((dir = opendir(ipath))) {
 		rewinddir(dir);
@@ -192,7 +190,7 @@
 	if (it != locales->end())
 		return (*it).second;
 
-	printf("LocaleMgr::getLocale failed to find %s\n", name);
+	SWLog::getSystemLog()->logError("LocaleMgr::getLocale failed to find %s\n", name);
 	return 0;
 }
 



More information about the sword-cvs mailing list