MCPcopy Create free account
hub / github.com/WinMerge/winmerge / FormatMenuItemString

Function FormatMenuItemString

Src/DirActions.cpp:1386–1392  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1384}
1385
1386String FormatMenuItemString(const String& fmt1, const String& fmt2, int count, int total)
1387{
1388 if (count == total)
1389 return strutils::format_string1(fmt1, NumToStr(total));
1390 else
1391 return strutils::format_string2(fmt2, NumToStr(count), NumToStr(total));
1392}
1393
1394String FormatMenuItemString(SIDE_TYPE src, SIDE_TYPE dst, int count, int total)
1395{

Callers 8

FormatMenuItemStringAllFunction · 0.85
FormatMenuItemStringToFunction · 0.85
DoUpdateDirCopyMethod · 0.85
DoUpdateDirMoveMethod · 0.85
OnUpdateCtxtDirDelMethod · 0.85
OnUpdateCtxtDirCopy2Method · 0.85

Calls 3

NumToStrFunction · 0.85
format_string1Function · 0.50
format_string2Function · 0.50

Tested by

no test coverage detected