Skip to content

Commit

Permalink
Fixing se_strncpy.
Browse files Browse the repository at this point in the history
  • Loading branch information
Chukobyte committed Dec 11, 2023
1 parent 53a98c7 commit e4dde31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion seika/utils/se_string_util.c
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ void se_strncpy(char* destination, size_t sizeInBytes, const char* source) {
#if defined(_MSC_VER)
strncpy_s(destination, sizeInBytes, source, sizeInBytes);
#else
strncpy(destination, sizeInBytes, source);
strncpy(destination, source, sizeInBytes);
#endif
}

Expand Down

0 comments on commit e4dde31

Please sign in to comment.