From 69f292a90e2fb9d48a77a9753127da13554715de Mon Sep 17 00:00:00 2001 From: nicm Date: Tue, 21 Apr 2015 22:38:49 +0000 Subject: Always format real layout even when zoomed. --- layout-custom.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'layout-custom.c') diff --git a/layout-custom.c b/layout-custom.c index c9cf49c2..57503518 100644 --- a/layout-custom.c +++ b/layout-custom.c @@ -55,12 +55,12 @@ layout_checksum(const char *layout) /* Dump layout as a string. */ char * -layout_dump(struct window *w) +layout_dump(struct layout_cell *root) { char layout[BUFSIZ], *out; *layout = '\0'; - if (layout_append(w->layout_root, layout, sizeof layout) != 0) + if (layout_append(root, layout, sizeof layout) != 0) return (NULL); xasprintf(&out, "%04x,%s", layout_checksum(layout), layout); -- cgit