[sword-cvs] sword/src/modules/filters thmlrtf.cpp,1.29,1.30

sword@www.crosswire.org sword@www.crosswire.org
Thu, 26 Jun 2003 09:37:36 -0700


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

Modified Files:
	thmlrtf.cpp 
Log Message:
hopefully now fixed ThML->RTF heading problem

Index: thmlrtf.cpp
===================================================================
RCS file: /usr/local/cvsroot/sword/src/modules/filters/thmlrtf.cpp,v
retrieving revision 1.29
retrieving revision 1.30
diff -C2 -d -r1.29 -r1.30
*** thmlrtf.cpp	20 Jun 2003 18:43:38 -0000	1.29
--- thmlrtf.cpp	26 Jun 2003 16:37:33 -0000	1.30
***************
*** 206,214 ****
  		}
  		else if (!strncmp(token, "/div", 4)) {
- 			buf += '}';
  			if (userData["sechead"] == "true") {
  				buf += "\\par ";
  				userData["sechead"] = "false";
  			}
  		}
  		else if (!strncmp(token, "note", 4)) {
--- 206,214 ----
  		}
  		else if (!strncmp(token, "/div", 4)) {
  			if (userData["sechead"] == "true") {
  				buf += "\\par ";
  				userData["sechead"] = "false";
  			}
+ 			buf += '}';
  		}
  		else if (!strncmp(token, "note", 4)) {