mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-13 21:35:39 +00:00
make sure we use the right size for an LO_FLOAT element.
This commit is contained in:
parent
ce052abc4e
commit
a9ddc88b80
@ -2049,6 +2049,9 @@ lo_NewElement(MWContext *context, lo_DocState *state, intn type,
|
||||
case LO_SPACER:
|
||||
size = sizeof(LO_SpacerStruct);
|
||||
break;
|
||||
case LO_FLOAT:
|
||||
size = sizeof(LO_FloatStruct);
|
||||
break;
|
||||
default:
|
||||
size = sizeof(LO_Any);
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user