MCPcopy Create free account
hub / github.com/MaxBelkov/visualsyslog / TerminateDirectory

Function TerminateDirectory

sourcecommon/utils.cpp:379–386  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

377#endif
378//---------------------------------------------------------------------------
379void TerminateDirectory(char * szDir)
380{
381 if( ! szDir ) return;
382 int i = lstrlen( szDir );
383 if( i < 1 ) return;
384 if( szDir[i-1]!='\\' )
385 lstrcat(szDir, "\\");
386}
387//---------------------------------------------------------------------------
388void UnTerminateDirectory(char * szDir)
389{

Callers 1

CopyDirectoryFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected