[sword-svn] r2902 - trunk/utilities/diatheke

chrislit at crosswire.org chrislit at crosswire.org
Tue Jul 16 04:02:26 MST 2013


Author: chrislit
Date: 2013-07-16 04:02:26 -0700 (Tue, 16 Jul 2013)
New Revision: 2902

Modified:
   trunk/utilities/diatheke/corediatheke.cpp
Log:
fixed various strings for variant selection


Modified: trunk/utilities/diatheke/corediatheke.cpp
===================================================================
--- trunk/utilities/diatheke/corediatheke.cpp	2013-07-16 10:58:55 UTC (rev 2901)
+++ trunk/utilities/diatheke/corediatheke.cpp	2013-07-16 11:02:26 UTC (rev 2902)
@@ -220,15 +220,15 @@
 
 	manager.setGlobalOption("Transliteration", (optionfilters & OP_TRANSLITERATOR && script) ? script : "Off");
 	
-	if (optionfilters & OP_VARIANTS && variants) {
-			if (variants == -1)
-				manager.setGlobalOption("Textual Variants", "All Readings");
-			else if (variants == 1)
-				manager.setGlobalOption("Textual Variants", "Secondary Readings");
+
+	if ((optionfilters & OP_VARIANTS) && variants) {
+		if (variants == -1)
+			manager.setGlobalOption("Textual Variants", "All Readings");
+		else if (variants == 1)
+			manager.setGlobalOption("Textual Variants", "Secondary Reading");
 	}
 	else
-		manager.setGlobalOption("Textual Variants", "Primary Readings");
-        
+		manager.setGlobalOption("Textual Variants", "Primary Reading");
 
 
 	if (querytype == QT_SEARCH) {




More information about the sword-cvs mailing list