[sword-svn] r1746 - trunk/src/mgr
dglassey at crosswire.org
dglassey at crosswire.org
Sat Mar 19 13:43:41 MST 2005
Author: dglassey
Date: 2005-03-19 13:43:40 -0700 (Sat, 19 Mar 2005)
New Revision: 1746
Modified:
trunk/src/mgr/localemgr.cpp
Log:
default to en_US if deflocalename is empty
Modified: trunk/src/mgr/localemgr.cpp
===================================================================
--- trunk/src/mgr/localemgr.cpp 2005-03-19 20:34:40 UTC (rev 1745)
+++ trunk/src/mgr/localemgr.cpp 2005-03-19 20:43:40 UTC (rev 1746)
@@ -252,6 +252,12 @@
if (getLocale(nocntry)) {
stdstr(&defaultLocaleName, nocntry);
}
+ else {
+ if (!defaultLocaleName) {
+ stdstr(&defaultLocaleName, "en_US");
+ }
+
+ }
delete [] nocntry;
}
delete [] tmplang;
More information about the sword-cvs
mailing list