aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLazaros Koromilas <lostd@2f30.org>2019-02-03 19:46:43 +0200
committerLazaros Koromilas <lostd@2f30.org>2019-02-03 19:46:43 +0200
commit6e3bbd735d76ea3144694972c5eacab32e4e7868 (patch)
tree4db224a1313cc111491fb2848619f88db694e5dc
parentc5fe33ed579d66ebcb061a2bde4455b20860a4ed (diff)
downloadnoice-6e3bbd735d76ea3144694972c5eacab32e4e7868.tar.gz
Style fixes
-rw-r--r--noice.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/noice.c b/noice.c
index e974351..4dc1878 100644
--- 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';
}
Un proyecto texto-plano.xyz