[jsword-svn] r1884 - trunk/common/src/main/java/org/crosswire/common/config

dmsmith at www.crosswire.org dmsmith at www.crosswire.org
Tue Jun 24 12:20:23 MST 2008


Author: dmsmith
Date: 2008-06-24 12:20:22 -0700 (Tue, 24 Jun 2008)
New Revision: 1884

Modified:
   trunk/common/src/main/java/org/crosswire/common/config/Config.java
Log:
Fixed a config bug that affects Farsi.

Modified: trunk/common/src/main/java/org/crosswire/common/config/Config.java
===================================================================
--- trunk/common/src/main/java/org/crosswire/common/config/Config.java	2008-06-23 19:06:00 UTC (rev 1883)
+++ trunk/common/src/main/java/org/crosswire/common/config/Config.java	2008-06-24 19:20:22 UTC (rev 1884)
@@ -321,7 +321,7 @@
 
             Choice model = getChoice(key);
             // Only if a value was stored and it should be stored then we use it.
-            if (value != null && model.isSaveable())
+            if (value != null && model != null && model.isSaveable())
             {
                 local.put(key, value);
             }




More information about the jsword-svn mailing list