Skip to content

Commit

Permalink
updated libs
Browse files Browse the repository at this point in the history
  • Loading branch information
objeck committed Dec 8, 2024
1 parent e021f35 commit a19aa63
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/shared/sys.h
Original file line number Diff line number Diff line change
Expand Up @@ -817,8 +817,8 @@ static wchar_t* LoadFileBuffer(const std::wstring &filename, size_t& buffer_size
return nullptr;;
}

if(size < in.size()) {
size = in.size();
if(wsize < in.size()) {
wsize = in.size();
}

wchar_t* wbuffer = new wchar_t[wsize + 1];
Expand Down

0 comments on commit a19aa63

Please sign in to comment.