[sword-cvs] sword/apps/console/diatheke corediatheke.cpp,1.26,1.27
sword@www.crosswire.org
sword@www.crosswire.org
Sat, 15 Feb 2003 19:43:29 -0700
Update of /usr/local/cvsroot/sword/apps/console/diatheke
In directory www:/tmp/cvs-serv18196
Modified Files:
corediatheke.cpp
Log Message:
patch from Sami Liedes <sliedes at cc.hut.fi>
Index: corediatheke.cpp
===================================================================
RCS file: /usr/local/cvsroot/sword/apps/console/diatheke/corediatheke.cpp,v
retrieving revision 1.26
retrieving revision 1.27
diff -C2 -d -r1.26 -r1.27
*** corediatheke.cpp 10 Oct 2002 22:50:17 -0000 1.26
--- corediatheke.cpp 16 Feb 2003 02:43:27 -0000 1.27
***************
*** 26,31 ****
if (!stricmp(key, "localelist")) {
! static LocaleMgr lm = LocaleMgr::systemLocaleMgr;
! list<string> loclist = lm.getAvailableLocales();
list<string>::iterator li = loclist.begin();
for (;li != loclist.end(); li++) {
--- 26,31 ----
if (!stricmp(key, "localelist")) {
! LocaleMgr *lm = &LocaleMgr::systemLocaleMgr;
! list<string> loclist = lm->getAvailableLocales();
list<string>::iterator li = loclist.begin();
for (;li != loclist.end(); li++) {