commit 6e3bbd735d76ea3144694972c5eacab32e4e7868 parent c5fe33ed579d66ebcb061a2bde4455b20860a4ed Author: Lazaros Koromilas <lostd@2f30.org> Date: Sun, 3 Feb 2019 19:46:43 +0200 Style fixes Diffstat:
M | noice.c | | | 5 | +++-- |
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/noice.c b/noice.c @@ -376,7 +376,8 @@ printprompt(char *str) printw(str); } -int xgetch(void) +int +xgetch(void) { int c; @@ -492,7 +493,7 @@ printent(struct entry *ent, int active) attr |= CURSR_ATTR; if (cm) { - name[len-1] = cm; + name[len - 1] = cm; name[len] = '\0'; }