engine/EngineConsoleCommand.c
/*	Adds command text at the end of the buffer
*/
Adds command text at the end of the buffer
Adds command text at the end of the buffer
void Cbuf_AddText (const char *text)
{
	int		l;
	l = strlen(text);
	if (cmd_text.cursize + l >= cmd_text.maxsize)
	{
		Con_Printf ("Cbuf_AddText: overflow\n");
		return;
	}
	SZ_Write(&cmd_text,(void*)text,strlen(text));
}
void Cbuf_AddText ( const char * text ) { int l ; l = strlen ( text ) ; if ( cmd_text . cursize + l >= cmd_text . maxsize ) { Con_Printf ( " \n " ) ; return ; } SZ_Write ( & cmd_text , ( void * ) text , strlen ( text ) ) ; }
Adds command text at the end of the buffer
Adds command text at the end of the buffer