зеркало из https://github.com/mozilla/gecko-dev.git
make sure we use the right size for an LO_FLOAT element.
This commit is contained in:
Родитель
ce052abc4e
Коммит
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;
|
||||
|
|
Загрузка…
Ссылка в новой задаче