Skip to content

Commit

Permalink
Fix typo in DecodeUTF16 for 32 bit wchar systems
Browse files Browse the repository at this point in the history
  • Loading branch information
edo9300 committed Sep 14, 2024
1 parent 9cd0844 commit 941140d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gframe/bufferio.h
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ class BufferIO {
return static_cast<int>(src_size);
} else {
wchar_t* pstr = out;
while(source.empty()) {
while(!source.empty()) {
const size_t len = out - pstr;
if(len >= (size - 1))
break;
Expand Down

0 comments on commit 941140d

Please sign in to comment.