[sword-cvs] sword/utilities vs2osisref.cpp,1.4,1.5

sword@www.crosswire.org sword@www.crosswire.org
Thu, 29 May 2003 16:15:31 -0700


Update of /usr/local/cvsroot/sword/utilities
In directory www:/tmp/cvs-serv8438

Modified Files:
	vs2osisref.cpp 
Log Message:


Index: vs2osisref.cpp
===================================================================
RCS file: /usr/local/cvsroot/sword/utilities/vs2osisref.cpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** vs2osisref.cpp	26 May 2003 08:36:31 -0000	1.4
--- vs2osisref.cpp	29 May 2003 23:15:29 -0000	1.5
***************
*** 45,50 ****
  		char preJunk[800];
  		char postJunk[800];
! 		*preJunk = 0;
! 		*postJunk = 0;
  		while ((*startFrag) && (strchr(" ;,()[].", *startFrag))) {
  			outRef += *startFrag;
--- 45,52 ----
  		char preJunk[800];
  		char postJunk[800];
! 		memset(buf, 0, 5120);
! 		memset(frag, 0, 800);
! 		memset(preJunk, 0, 800);
! 		memset(postJunk, 0, 800);
  		while ((*startFrag) && (strchr(" ;,()[].", *startFrag))) {
  			outRef += *startFrag;