Re: [PATCH 1/2] Custom layouts: accept short checksums

2013-03-10 Thread Nicholas Marriott
I think this is what I intended: diff --git a/layout-custom.c b/layout-custom.c index c076232..ab89a3f 100644 --- a/layout-custom.c +++ b/layout-custom.c @@ -63,7 +63,7 @@ layout_dump(struct window *w) if (layout_append(w->layout_root, layout, sizeof layout) != 0) return (N

[PATCH 1/2] Custom layouts: accept short checksums

2013-03-09 Thread Chris Johnsen
The leading checksum value of custom layout strings output by the list-windows command (generated by layout_dump) is printed as a four character field ("%4x"). For values less than 0x1000 this means that spaces are added to the left side to pad it out to four characters. These leading spaces are e