[sword-cvs] sword/src/modules/filters osisredletterwords.cpp,1.1,1.2

sword@www.crosswire.org sword@www.crosswire.org
Sat, 28 Jun 2003 08:03:50 -0700


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

Modified Files:
	osisredletterwords.cpp 
Log Message:
fixed so red word can be toggled

Index: osisredletterwords.cpp
===================================================================
RCS file: /usr/local/cvsroot/sword/src/modules/filters/osisredletterwords.cpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** osisredletterwords.cpp	27 Jun 2003 06:18:05 -0000	1.1
--- osisredletterwords.cpp	28 Jun 2003 15:03:48 -0000	1.2
***************
*** 66,72 ****
  				if ((tag.getAttribute("who")) && (!stricmp(tag.getAttribute("who"), "Jesus"))) {
  				        tag.setAttribute("who", 0);
  				}
  			}
- 
  			text += '<';
  			text.append(token);
--- 66,72 ----
  				if ((tag.getAttribute("who")) && (!stricmp(tag.getAttribute("who"), "Jesus"))) {
  				        tag.setAttribute("who", 0);
+ 					token = tag;
  				}
  			}
  			text += '<';
  			text.append(token);