commit 9d6d0107dabf2f17ffb3f2031fc505c02416fef8 parent 3a3c1b606327f75284e91ce448d08da435de7701 Author: Claudio Alessi <smoppy@gmail.com> Date: Sat, 16 Apr 2016 14:29:16 +0200 Fix a bug in ui_showfields() Diffstat:
M | myadm.c | | | 1 | + |
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/myadm.c b/myadm.c @@ -441,6 +441,7 @@ ui_showfields(Field *fds, int *lens) { --linesz; } } + line[li] = '\0'; ui_set("subtle", "%s", line); ui_set("showsubtle", "%d", (line[0] ? 1 : 0)); }