MCPcopy Create free account
hub / github.com/buggins/coolreader / calcStringMatch

Function calcStringMatch

cr3wx/src/toc.cpp:52–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50}
51
52static int calcStringMatch( const lChar16 * str1, const lChar16 * str2 )
53{
54 int i;
55 for ( i=0; str1[i] && str2[i] && str1[i]==str2[i]; i++ )
56 ;
57 return i;
58}
59
60void TocDialog::addTocItems( LVTocItem * tocitem, const wxTreeItemId & treeitem, ldomXPointer pos, wxTreeItemId & bestPosMatchNode )
61{

Callers 1

addTocItemsMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected