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

Function FindDiffPoint

source/common/console/c_tabcomplete.cpp:147–157  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

145}
146
147static int FindDiffPoint (FName name1, const char *str2)
148{
149 const char *str1 = name1.GetChars();
150 int i;
151
152 for (i = 0; tolower(str1[i]) == tolower(str2[i]); i++)
153 if (str1[i] == 0 || str2[i] == 0)
154 break;
155
156 return i;
157}
158
159void C_TabComplete (bool goForward)
160{

Callers 2

C_TabCompleteFunction · 0.85
C_TabCompleteListFunction · 0.85

Calls 1

GetCharsMethod · 0.45

Tested by

no test coverage detected