summaryrefslogtreecommitdiff
path: root/console.c
diff options
context:
space:
mode:
spaces around else for rtm
Diffstat (limited to 'console.c')
-rw-r--r--console.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/console.c b/console.c
index 8acc242..22b4b23 100644
--- a/console.c
+++ b/console.c
@@ -51,7 +51,7 @@ cga_putc(int c)
else if(c == BACKSPACE){
if(pos > 0)
crt[--pos] = ' ' | 0x0700;
- }else
+ } else
crt[pos++] = (c&0xff) | 0x0700; // black on white
if((pos/80) >= 24){ // Scroll up.
@@ -91,7 +91,7 @@ printint(int xx, int base, int sgn)
if(sgn && xx < 0){
neg = 1;
x = 0 - xx;
- }else{
+ } else {
x = xx;
}