engine/EngineCommon.c
/*	does a varargs printf into a temp buffer, so I don't need to have
	varargs versions of all text functions.
	FIXME: make this buffer size safe someday
*/
does a varargs printf into a temp buffer, so I don't need to have
varargs versions of all text functions.
FIXME: make this buffer size safe someday
does a varargs printf into a temp buffer so I don ' t need to have varargs versions of all text functions . FIXME : make this buffer size safe someday
char *va(const char *format, ...)
{
	va_list		argptr;
	static char	string[1024];
	va_start (argptr, format);
	vsprintf (string, format, argptr);
	va_end (argptr);
	return string;
}
char * va ( const char * format , ... ) { va_list argptr ; static char string [ 1024 ] ; va_start ( argptr , format ) ; vsprintf ( string , format , argptr ) ; va_end ( argptr ) ; return string ; }
does a varargs printf into a temp buffer, so I don't need to have
varargs versions of all text functions.
does a varargs printf into a temp buffer so I don ' t need to have varargs versions of all text functions .