|
|
@@ -26,7 +26,7 @@ errno_t IZ_strlwr(char* dest, const char* str, rsize_t str_size) { |
|
|
|
} |
|
|
|
return _strlwr_s(dest, str_size); |
|
|
|
#else |
|
|
|
memcpy(dest, str, str_size -1); |
|
|
|
memcpy(dest, str, str_size - 1); |
|
|
|
for (unsigned int i = 0; i < str_size; i += 1) { |
|
|
|
if ('A' <= dest[i] && dest[i] <= 'Z') { |
|
|
|
dest[i] += 0x20; |
|
|
|