From 520094b447952529317234c6f32b49bbf0ededff Mon Sep 17 00:00:00 2001 From: Jonas Fonseca Date: Tue, 29 May 2007 16:00:24 +0200 Subject: [PATCH] Move space separator from get_key to formatting in open_help_view --- tig.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tig.c b/tig.c index 0b2b5c8..692a2b8 100644 --- a/tig.c +++ b/tig.c @@ -870,7 +870,7 @@ get_key(enum request request) static char buf[BUFSIZ]; static char key_char[] = "'X'"; size_t pos = 0; - char *sep = " "; + char *sep = ""; int i; buf[pos] = 0; @@ -2030,7 +2030,7 @@ static void open_help_view(struct view *view) } key = get_key(req_info[i].request); - if (!string_format(buf, "%-25s %s", key, req_info[i].help)) + if (!string_format(buf, " %-25s %s", key, req_info[i].help)) continue; add_line_text(view, buf, LINE_DEFAULT); -- 2.30.2