[sword-cvs] sword/src/modules swmodule.cpp,1.47,1.48

sword@www.crosswire.org sword@www.crosswire.org
Wed, 18 Jun 2003 16:37:24 -0700


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

Modified Files:
	swmodule.cpp 
Log Message:
Added note popups for ESV (well, should work for all osis encoded notes)
Fixed static bug in SWModule::RenderText

Index: swmodule.cpp
===================================================================
RCS file: /usr/local/cvsroot/sword/src/modules/swmodule.cpp,v
retrieving revision 1.47
retrieving revision 1.48
diff -C2 -d -r1.47 -r1.48
*** swmodule.cpp	25 Feb 2003 04:12:47 -0000	1.47
--- swmodule.cpp	18 Jun 2003 23:37:22 -0000	1.48
***************
*** 532,536 ****
   */
  
! const char *SWModule::StripText(char *buf, int len)
  {
  	return RenderText(buf, len, false);
--- 532,536 ----
   */
  
! const char *SWModule::StripText(const char *buf, int len)
  {
  	return RenderText(buf, len, false);
***************
*** 546,553 ****
   */
  
!  const char *SWModule::RenderText(char *buf, int len, bool render) {
  	entryAttributes.clear();
  
! 	SWBuf local;
  	if (buf)
  		local = buf;
--- 546,553 ----
   */
  
!  const char *SWModule::RenderText(const char *buf, int len, bool render) {
  	entryAttributes.clear();
  
! 	static SWBuf local;
  	if (buf)
  		local = buf;