MCPcopy Index your code
hub / github.com/assaultcube/AC / setdefaultvalue

Method setdefaultvalue

source/src/menus.cpp:487–493  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

485 }
486
487 void setdefaultvalue()
488 {
489 const char *p = defaultvalueexp;
490 char *r = executeret(p);
491 copystring(input.buf, r ? r : "");
492 if(r) delete[] r;
493 }
494};
495
496// slider item

Callers

nothing calls this directly

Calls 2

executeretFunction · 0.85
copystringFunction · 0.85

Tested by

no test coverage detected