summaryrefslogtreecommitdiff
path: root/source/luametatex/source/tex/texnodes.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/luametatex/source/tex/texnodes.c')
-rw-r--r--source/luametatex/source/tex/texnodes.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/source/luametatex/source/tex/texnodes.c b/source/luametatex/source/tex/texnodes.c
index 39dedb97f..650e0cee2 100644
--- a/source/luametatex/source/tex/texnodes.c
+++ b/source/luametatex/source/tex/texnodes.c
@@ -3485,11 +3485,11 @@ halfword tex_kern_dimension_ex(halfword p)
scaledwhd tex_pack_dimensions(halfword p)
{
- scaledwhd whd = { 0, 0, 0, 0 };
- whd.ht = box_height(p);
- whd.dp = box_depth(p);
- whd.wd = box_width(p);
- return whd;
+ scaledwhd siz = { .wd = 0, .ht = 0, .dp = 0, .ns = 0 };
+ siz.ht = box_height(p);
+ siz.dp = box_depth(p);
+ siz.wd = box_width(p);
+ return siz;
}
/*tex