Skip to content

Commit

Permalink
Update EMWebKit_Flags.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
SkillfulElectro authored Jun 5, 2024
1 parent 929b1b8 commit f001b5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Windows_Only/EMWebKit_Flags.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const wchar_t* Flags::ConvertCharToWchar(const char* c) {
const size_t cSize = strlen(c) + 1;
wchar_t* wc = new wchar_t[cSize];

// Use mbstowcs_s for safer conversion

size_t convertedChars = 0;
mbstowcs_s(&convertedChars, wc, cSize, c, cSize - 1);

Expand Down

0 comments on commit f001b5a

Please sign in to comment.