| 110 | } |
| 111 | |
| 112 | void StringCat(char * szTarget, size_t cchTargetMax, const char * szSource) |
| 113 | { |
| 114 | // Get the current length of the target |
| 115 | size_t cchTarget = strlen(szTarget); |
| 116 | |
| 117 | // Copy the string to the target |
| 118 | if(cchTarget < cchTargetMax) |
| 119 | { |
| 120 | StringCopy(szTarget + cchTarget, (cchTargetMax - cchTarget), szSource); |
| 121 | } |
| 122 | } |
| 123 | |
| 124 | //----------------------------------------------------------------------------- |
| 125 | // Utility functions (UNICODE) only exist in the ANSI version of the library |
no test coverage detected