chiark
/
gitweb
/
~mdw
/
tig
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
035ba11
)
Move space separator from get_key to formatting in open_help_view
author
Jonas Fonseca
<fonseca@diku.dk>
Tue, 29 May 2007 14:00:24 +0000
(16:00 +0200)
committer
Jonas Fonseca
<fonseca@diku.dk>
Tue, 29 May 2007 14:00:24 +0000
(16:00 +0200)
tig.c
patch
|
blob
|
blame
|
history
diff --git
a/tig.c
b/tig.c
index 0b2b5c83112af2700cea8cdbb8906d47624a4a20..692a2b87f183ea66060bef4e00b4f31c07c8cf0c 100644
(file)
--- 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;
static char buf[BUFSIZ];
static char key_char[] = "'X'";
size_t pos = 0;
- char *sep = "
";
+ char *sep = "";
int i;
buf[pos] = 0;
int i;
buf[pos] = 0;
@@
-2030,7
+2030,7
@@
static void open_help_view(struct view *view)
}
key = get_key(req_info[i].request);
}
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);
continue;
add_line_text(view, buf, LINE_DEFAULT);