From aff5812c462a4de736f2efca44db1f1206af039d Mon Sep 17 00:00:00 2001 From: Joachim Nilsson Date: Sun, 23 Aug 2015 13:15:18 +0200 Subject: [PATCH] Minor whitespace fixes, use Linux KNF Signed-off-by: Joachim Nilsson --- conio.h | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/conio.h b/conio.h index 63dcb29..a6f24de 100644 --- a/conio.h +++ b/conio.h @@ -62,11 +62,11 @@ #define showcursor() fputs ("\e[?25h", stdout) /* Esc[Value;...;Valuem - Set Graphics Mode */ -#define __set_gm(attr,color,val) \ - if (!color) \ - printf("\e[%dm", attr); \ - else \ - printf("\e[%d;%dm", color & 0x10 ? 1 : 0, (color & 0xF) + val) +#define __set_gm(attr,color,val) \ + if (!color) \ + printf("\e[%dm", attr); \ + else \ + printf("\e[%d;%dm", color & 0x10 ? 1 : 0, (color & 0xF) + val) #define textattr(attr) __set_gm(attr, 0, 0) #define textcolor(color) __set_gm(RESETATTR, color, 30) #define textbackground(color) __set_gm(RESETATTR, color, 40) @@ -76,6 +76,7 @@ /** * Local Variables: * version-control: t - * c-file-style: "ellemtel" + * indent-tabs-mode: t + * c-file-style: "linux" * End: */