System/Libraries/Html/Renderer: Increase size of work buffer for @set_css_distance to avoid crashing
This commit is contained in:
parent
569e2e4b70
commit
7c58320ac5
1 changed files with 1 additions and 1 deletions
|
@ -390,7 +390,7 @@ U0 @set_css_distance(U8* str, F64* value, I64* type)
|
|||
*type = CSS_DISTANCE_AUTO;
|
||||
return;
|
||||
}
|
||||
U8 buf[16];
|
||||
U8 buf[128];
|
||||
StrCpy(buf, str);
|
||||
if (String.EndsWith("px", buf)) {
|
||||
buf[StrLen(buf) - 2] = NULL;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue