From a9ddc88b80d4bd9d1c0ebe87c9e6cd36fa81b4ce Mon Sep 17 00:00:00 2001 From: "toshok%netscape.com" Date: Fri, 31 Jul 1998 03:25:08 +0000 Subject: [PATCH] make sure we use the right size for an LO_FLOAT element. --- lib/layout/layutil.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/layout/layutil.c b/lib/layout/layutil.c index 61a05b2c5bba..18b3aded91a6 100644 --- a/lib/layout/layutil.c +++ b/lib/layout/layutil.c @@ -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;