Changed key for top level layout field to "L"

This commit is contained in:
Dane Jensen
2026-07-14 21:45:17 -07:00
parent bc7e267044
commit 189b87aaae

View File

@@ -279,7 +279,7 @@ layout_parse(struct window *w, const char *layout, int flags, char **cause)
return (-1);
}
} else {
if (sscanf(layout, "{\"v\":%d,\"l\":%n", &version, &n) != 1 ||
if (sscanf(layout, "{\"v\":%d,\"L\":%n", &version, &n) != 1 ||
n != 11) {
*cause = xstrdup("malformed layout header");
return (-1);