MCPcopy Create free account
hub / github.com/ProgerXP/Notepad2e / MeasureLength

Function MeasureLength

scintilla/src/XPM.cxx:37–42  ·  view source on GitHub ↗

Data lines in XPM can be terminated either with NUL or "

Source from the content-addressed store, hash-verified

35
36// Data lines in XPM can be terminated either with NUL or "
37static size_t MeasureLength(const char *s) {
38 size_t i = 0;
39 while (s[i] && (s[i] != '\"'))
40 i++;
41 return i;
42}
43
44ColourDesired XPM::ColourFromCode(int ch) const {
45 return colourCodeTable[ch];

Callers 1

InitMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected