mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-14 14:24:10 +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;
|
return;
|
||||||
|
|
||||||
int i = sb.Length + (end - start);
|
int i = sb.Length + (end - start);
|
||||||
sb.Length = i;
|
sb.PrepareBuffer(i);
|
||||||
|
|
||||||
var end;
|
var end;
|
||||||
var start;
|
var start;
|
||||||
|
|
|
@ -329,7 +329,7 @@ namespace System
|
||||||
|
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
Debug.Assert((uint)mLength <= (uint)value);
|
Debug.Assert((uint)value <= (uint)mLength);
|
||||||
mLength = (int_strsize)value;
|
mLength = (int_strsize)value;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue