MCPcopy Create free account
hub / github.com/JACoders/OpenJK / Field_Clear

Function Field_Clear

code/qcommon/common.cpp:1599–1603  ·  view source on GitHub ↗

================== Field_Clear ================== */

Source from the content-addressed store, hash-verified

1597==================
1598*/
1599void Field_Clear( field_t *edit ) {
1600 memset(edit->buffer, 0, MAX_EDIT_LINE);
1601 edit->cursor = 0;
1602 edit->scroll = 0;
1603}
1604
1605/*
1606=============================================================================

Callers 7

CON_InitFunction · 0.50
CON_InputFunction · 0.50
Con_ToggleConsole_fFunction · 0.50
Con_InitFunction · 0.50
Con_CloseFunction · 0.50
Field_CharEventFunction · 0.50
Console_KeyFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected