MCPcopy Create free account
hub / github.com/ZDoom/Raze / CT_BackSpace

Function CT_BackSpace

source/core/ct_chat.cpp:293–301  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

291//===========================================================================
292
293static void CT_BackSpace ()
294{
295 if (ChatQueue.Size())
296 {
297 int endpos = ChatQueue.Size() - 1;
298 while (endpos > 0 && ChatQueue[endpos] >= 0x80 && ChatQueue[endpos] < 0xc0) endpos--;
299 ChatQueue.Clamp(endpos);
300 }
301}
302
303//===========================================================================
304//

Callers 1

CT_ResponderFunction · 0.85

Calls 2

ClampMethod · 0.80
SizeMethod · 0.45

Tested by

no test coverage detected