[sword-svn] r431 - trunk

scribe at crosswire.org scribe at crosswire.org
Thu Jun 29 22:38:05 MST 2006


Author: scribe
Date: 2006-06-29 22:38:04 -0700 (Thu, 29 Jun 2006)
New Revision: 431

Modified:
   trunk/mainfrm.cpp
Log:


Modified: trunk/mainfrm.cpp
===================================================================
--- trunk/mainfrm.cpp	2006-06-27 11:03:36 UTC (rev 430)
+++ trunk/mainfrm.cpp	2006-06-30 05:38:04 UTC (rev 431)
@@ -2894,7 +2894,7 @@
                                         if (!suffix && strchr("abcdefghijkl", entrytext[verseend]))
                                                 suffix = true;
                                         else    break;
-                                }
+						  }
 			}
 			if ((entrytext[verseend] == '>') ||
 					(entrytext[verseend] == ')')) {
@@ -2914,11 +2914,11 @@
 
     if ((lookupKey.Length() > 1) && (lookupKey[1] == '<') && (lookupKey[lookupKey.Length()] == '>')) {
       if (searchForm->usingSearchFramework) {
-         lookupKey = (String)"lemma:"+((DefaultVSKey->Testament())?"G":"H")+lookupKey.SubString(2,lookupKey.Length()-2);
+	    lookupKey = (String)"lemma:"+((DefaultVSKey->Testament()>1)?"G":"H")+lookupKey.SubString(2,lookupKey.Length()-2);
+	 }
+	 else {
+	    lookupKey = (String)"<"+((DefaultVSKey->Testament()>1)?"G":"H")+lookupKey.SubString(2,lookupKey.Length()-2)+">";
       }
-      else {
-         lookupKey = (String)"<"+((DefaultVSKey->Testament())?"G":"H")+lookupKey.SubString(2,lookupKey.Length()-2)+">";
-      }
     }
    searchForm->SearchText->Text = lookupKey;
 }



More information about the sword-cvs mailing list