From c6b97b7892cd31d8d4ce0299b0009f6dd910fc77 Mon Sep 17 00:00:00 2001 From: Philippe Pepiot Date: Wed, 20 Jan 2010 11:29:59 +0100 Subject: [PATCH] init: end layout list with { NULL, NULL } --- src/init.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/init.c b/src/init.c index 8f14f97..da90df8 100644 --- a/src/init.c +++ b/src/init.c @@ -178,7 +178,8 @@ init_layout(void) {"max", maxlayout }, {"maxlayout", maxlayout }, {"freelayout", freelayout }, - {"free", freelayout } + {"free", freelayout }, + { NULL, NULL } }; layout_list = emalloc(LEN(layout_list_tmp), sizeof(func_name_list_t));