From d67cc7f9d556650438e421cdcda37bc52710bffd Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Sun, 9 Aug 2009 20:42:45 +0000 Subject: Add 'linenumbers' config option Signed-off-by: Florian Pritz Signed-off-by: Lars Hjemli --- cgit.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'cgit.c') diff --git a/cgit.c b/cgit.c index b0e1c44..a4788cb 100644 --- a/cgit.c +++ b/cgit.c @@ -66,6 +66,8 @@ void config_cb(const char *name, const char *value) ctx.cfg.index_info = xstrdup(value); else if (!strcmp(name, "logo-link")) ctx.cfg.logo_link = xstrdup(value); + else if (!strcmp(name, "linenumbers")) + ctx.cfg.linenumbers = atoi(value); else if (!strcmp(name, "module-link")) ctx.cfg.module_link = xstrdup(value); else if (!strcmp(name, "virtual-root")) { -- cgit v1.2.1