MCPcopy Create free account
hub / github.com/TorqueGameEngines/Torque3D / scanforchar

Function scanforchar

Engine/source/gui/controls/guiMLTextCtrl.cpp:1571–1577  ·  view source on GitHub ↗

--------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

1569
1570//--------------------------------------------------------------------------
1571static bool scanforchar(const char *str, U32 &idx, char c)
1572{
1573 U32 startidx = idx;
1574 while(str[idx] != c && str[idx] && str[idx] != ':' && str[idx] != '>' && str[idx] != '\n')
1575 idx++;
1576 return str[idx] == c && startidx != idx;
1577}
1578
1579//--------------------------------------------------------------------------
1580static bool scanforURL(const char *str, U32 &idx, char c)

Callers 2

reflowMethod · 0.85
stripControlCharsMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected