[sword-cvs] sword/src/modules/filters osisfootnotes.cpp,1.5,1.6

sword@www.crosswire.org sword@www.crosswire.org
Thu, 26 Jun 2003 23:12:21 -0700


Update of /usr/local/cvsroot/sword/src/modules/filters
In directory www:/tmp/cvs-serv2867

Modified Files:
	osisfootnotes.cpp 
Log Message:
separated crossReferences out from other notes (should be handled with separate filter)

Index: osisfootnotes.cpp
===================================================================
RCS file: /usr/local/cvsroot/sword/src/modules/filters/osisfootnotes.cpp,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** osisfootnotes.cpp	27 Jun 2003 01:41:07 -0000	1.5
--- osisfootnotes.cpp	27 Jun 2003 06:12:19 -0000	1.6
***************
*** 1,5 ****
  /******************************************************************************
   *
!  *osishmlheadings -	SWFilter decendant to hide or show headings
   *			in an OSIS module.
   */
--- 1,5 ----
  /******************************************************************************
   *
!  * osisfootnotes -	SWFilter descendant to hide or show footnotes
   *			in an OSIS module.
   */
***************
*** 67,71 ****
  
  			XMLTag tag(token);
! 			if (!stricmp(tag.getName(), "note")) {
  				if (!tag.isEndTag() && (!tag.isEmpty())) {
  					startTag = tag;
--- 67,71 ----
  
  			XMLTag tag(token);
! 			if (!strcmp(tag.getName(), "note") && strcmp(tag.getAttribute("type"), "crossReference")) {
  				if (!tag.isEndTag() && (!tag.isEmpty())) {
  					startTag = tag;