diff options
author | Thomas Adam <thomas@xteddy.org> | 2015-04-22 10:05:54 +0100 |
---|---|---|
committer | Thomas Adam <thomas@xteddy.org> | 2015-04-22 10:05:54 +0100 |
commit | 0a88377086329786c438d4973365fdb21186f4e4 (patch) | |
tree | df5b091b400df84974f58bbfbb78ee26ccb9a5f6 /layout-custom.c | |
parent | b25dc423b0b1369aaec5dee8e051d541bd55043f (diff) | |
parent | 3909aff06aa6de748ae057cab1e723eec2387edd (diff) | |
download | rtmux-0a88377086329786c438d4973365fdb21186f4e4.tar.gz rtmux-0a88377086329786c438d4973365fdb21186f4e4.tar.bz2 rtmux-0a88377086329786c438d4973365fdb21186f4e4.zip |
Merge branch 'obsd-master'
Diffstat (limited to 'layout-custom.c')
-rw-r--r-- | layout-custom.c | 4 |
1 files changed, 2 insertions, 2 deletions
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); |