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