Skip to content

Commit

Permalink
Update FS.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
xrSimpodin committed May 30, 2024
1 parent 1a18d7d commit d727a0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ogsr_engine/xrCore/FS.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ void IReader::r_stringZ(char* dest, u32 tgt_sz)
{
sz++;

R_ASSERT2(sz < (tgt_sz - 1), "Dest string less than needed.");
ASSERT_FMT(sz < (tgt_sz - 1), "!![%s] Dest string less than needed for: [%s]", __FUNCTION__, src);

*dest++ = src[Pos++];
}
Expand Down

1 comment on commit d727a0f

@xrSimpodin
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.