diff options
author | rsc <rsc> | 2007-08-28 18:37:41 +0000 |
---|---|---|
committer | rsc <rsc> | 2007-08-28 18:37:41 +0000 |
commit | 5516be1fed10ac87848668964c495266d02ae915 (patch) | |
tree | b3f85375a1ccd347861e9eea34d644cc9824c444 /console.c | |
parent | e4d6a21165c01dd743a68e323fb06708ef820ab7 (diff) | |
download | xv6-labs-5516be1fed10ac87848668964c495266d02ae915.tar.gz xv6-labs-5516be1fed10ac87848668964c495266d02ae915.tar.bz2 xv6-labs-5516be1fed10ac87848668964c495266d02ae915.zip |
spaces around else for rtm
Diffstat (limited to 'console.c')
-rw-r--r-- | console.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; } |