[sword-svn] r1798 - trunk/src/modules/filters

jansorg at crosswire.org jansorg at crosswire.org
Thu May 5 05:59:57 MST 2005


Author: jansorg
Date: 2005-05-05 05:59:56 -0700 (Thu, 05 May 2005)
New Revision: 1798

Modified:
   trunk/src/modules/filters/gbfosis.cpp
Log:
fixed RF tag handling in gbf2osis filter

Modified: trunk/src/modules/filters/gbfosis.cpp
===================================================================
--- trunk/src/modules/filters/gbfosis.cpp	2005-05-04 01:16:20 UTC (rev 1797)
+++ trunk/src/modules/filters/gbfosis.cpp	2005-05-05 12:59:56 UTC (rev 1798)
@@ -109,7 +109,7 @@
 			}
 
 			// Footnote
-			if (!strcmp(token, "RF")) {
+			if (!strcmp(token, "RF") || !strncmp(token, "RF ", 3)) { //the GBFFootnotes filter adds the attribute "swordFootnote", we want to catch that, too
 	//			pushString(buf, "<reference work=\"Bible.KJV\" reference=\"");
 				text += "<note type=\"x-StudyNote\">";
 				newText = true;



More information about the sword-cvs mailing list