[sword-svn] r3917 - trunk/bindings/corba/orbitcpp

scribe at crosswire.org scribe at crosswire.org
Thu Aug 13 04:47:57 EDT 2026


Author: scribe
Date: 2026-08-13 04:47:57 -0400 (Thu, 13 Aug 2026)
New Revision: 3917

Modified:
   trunk/bindings/corba/orbitcpp/webmgr.hpp
Log:
webmgr: make default Greek/Hebrew lexicon and morphology module selection first-wins, with explicit override via GreekDefDefault/HebrewDefDefault/GreekParseDefault/HebrewParseDefault feature flags

Modified: trunk/bindings/corba/orbitcpp/webmgr.hpp
===================================================================
--- trunk/bindings/corba/orbitcpp/webmgr.hpp	2026-03-09 21:55:03 UTC (rev 3916)
+++ trunk/bindings/corba/orbitcpp/webmgr.hpp	2026-08-13 08:47:57 UTC (rev 3917)
@@ -123,16 +123,24 @@
 
 		// add our special filters
 		if (module->getConfig().has("Feature", "GreekDef")) {
-			defaultGreekLex = module;
+			if (!defaultGreekLex || module->getConfig().has("Feature", "GreekDefDefault")) {
+				defaultGreekLex = module;
+			}
 		}
 		if (module->getConfig().has("Feature", "HebrewDef")) {
-			defaultHebLex = module;
+			if (!defaultHebLex || module->getConfig().has("Feature", "HebrewDefDefault")) {
+				defaultHebLex = module;
+			}
 		}
 		if (module->getConfig().has("Feature", "GreekParse")) {
-			defaultGreekParse = module;
+			if (!defaultGreekParse || module->getConfig().has("Feature", "GreekParseDefault")) {
+				defaultGreekParse = module;
+			}
 		}
 		if (module->getConfig().has("Feature", "HebrewParse")) {
-			defaultHebParse = module;
+			if (!defaultHebParse || module->getConfig().has("Feature", "HebrewParseDefault")) {
+				defaultHebParse = module;
+			}
 		}
 		if (module->getConfig().has("GlobalOptionFilter", "ThMLVariants")) {
 			OptionFilterMap::iterator it = optionFilters.find("ThMLVariants");



More information about the sword-cvs mailing list