[sword-cvs] sword/src/utilfuns swbuf.cpp,1.5,1.6

sword@www.crosswire.org sword@www.crosswire.org
Thu, 27 Feb 2003 12:14:34 -0700


Update of /usr/local/cvsroot/sword/src/utilfuns
In directory www:/tmp/cvs-serv14574/src/utilfuns

Modified Files:
	swbuf.cpp 
Log Message:
fixes; more to follow


Index: swbuf.cpp
===================================================================
RCS file: /usr/local/cvsroot/sword/src/utilfuns/swbuf.cpp,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** swbuf.cpp	27 Feb 2003 18:21:57 -0000	1.5
--- swbuf.cpp	27 Feb 2003 19:14:32 -0000	1.6
***************
*** 159,163 ****
  
  	va_start(argptr, format);
! 	int len = vsprintf(junkBuf, format, argptr);
  	assureSize((end-buf)+len);
  	end += vsprintf(end, format, argptr);
--- 159,163 ----
  
  	va_start(argptr, format);
! 	int len = vsprintf(junkBuf, format, argptr)+1;
  	assureSize((end-buf)+len);
  	end += vsprintf(end, format, argptr);