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

Function scanforchar

Engine/source/gui/controls/guiMLTextCtrl.cpp:1567–1573  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

1565
1566//--------------------------------------------------------------------------
1567static bool scanforchar(const char *str, U32 &idx, char c)
1568{
1569 U32 startidx = idx;
1570 while(str[idx] != c && str[idx] && str[idx] != ':' && str[idx] != '>' && str[idx] != '\n')
1571 idx++;
1572 return str[idx] == c && startidx != idx;
1573}
1574
1575//--------------------------------------------------------------------------
1576static 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