[sword-cvs] sword/src/utilfuns swbuf.cpp,1.13,1.14
sword@www.crosswire.org
sword@www.crosswire.org
Tue, 12 Aug 2003 20:56:16 -0700
Update of /usr/local/cvsroot/sword/src/utilfuns
In directory www:/tmp/cvs-serv7014
Modified Files:
swbuf.cpp
Log Message:
Index: swbuf.cpp
===================================================================
RCS file: /usr/local/cvsroot/sword/src/utilfuns/swbuf.cpp,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -d -r1.13 -r1.14
--- swbuf.cpp 12 Aug 2003 05:36:31 -0000 1.13
+++ swbuf.cpp 13 Aug 2003 03:56:14 -0000 1.14
@@ -153,7 +153,9 @@
va_start(argptr, format);
int len = vsprintf(junkBuf, format, argptr)+1;
+ va_end(argptr);
assureMore(len);
+ va_start(argptr, format);
end += vsprintf(end, format, argptr);
va_end(argptr);
}