mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 20:42:21 +02:00
Fix for string Length-setting (trim-only) assert
This commit is contained in:
parent
0e609637de
commit
88c4b2a818
2 changed files with 2 additions and 2 deletions
|
@ -2675,7 +2675,7 @@ namespace System
|
|||
return;
|
||||
|
||||
int i = sb.Length + (end - start);
|
||||
sb.Length = i;
|
||||
sb.PrepareBuffer(i);
|
||||
|
||||
var end;
|
||||
var start;
|
||||
|
|
|
@ -329,7 +329,7 @@ namespace System
|
|||
|
||||
set
|
||||
{
|
||||
Debug.Assert((uint)mLength <= (uint)value);
|
||||
Debug.Assert((uint)value <= (uint)mLength);
|
||||
mLength = (int_strsize)value;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue