Style fixes - noice - small file browser (mirror / fork from 2f30.org)
(HTM) git clone git://git.codemadness.org/noice
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 6e3bbd735d76ea3144694972c5eacab32e4e7868
(DIR) parent c5fe33ed579d66ebcb061a2bde4455b20860a4ed
(HTM) 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(-)
---
(DIR) 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';
}