feat(string): add STORM_MAX_PATH and STORM_MAX_STR

This commit is contained in:
fallenoak 2020-11-14 17:47:10 -06:00
parent abb9e8ed79
commit e74eb83854
No known key found for this signature in database
GPG key ID: 7628F8E61AEA070D
2 changed files with 4 additions and 1 deletions

View file

@ -134,7 +134,7 @@ size_t SStrCopy(char* dest, const char* source, size_t destsize) {
char* destbuf = dest;
if (destsize == 0x7FFFFFFF) {
if (destsize == STORM_MAX_STR) {
while (*source) {
*destbuf = *source;