summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2001-11-06 02:40:09 +0000
committerdes <des@FreeBSD.org>2001-11-06 02:40:09 +0000
commitee0efa27183db969a1cf3b6f9b5ac6cc2bf4c530 (patch)
treef57084dc2b76f098e36f801d0f34bf7bd895ea66 /sys
parent96acf650889b440b17e9f410d4839b6e0044fcc6 (diff)
downloadFreeBSD-src-ee0efa27183db969a1cf3b6f9b5ac6cc2bf4c530.zip
FreeBSD-src-ee0efa27183db969a1cf3b6f9b5ac6cc2bf4c530.tar.gz
More drive-by stylification
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/syscons/warp/warp_saver.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/syscons/warp/warp_saver.c b/sys/dev/syscons/warp/warp_saver.c
index e8f8c4f..e1f8cd9 100644
--- a/sys/dev/syscons/warp/warp_saver.c
+++ b/sys/dev/syscons/warp/warp_saver.c
@@ -67,8 +67,8 @@ warp_update(void)
for (j = 0; j < n; j++, k++) {
vid[star[k]] = 0;
star[k] += i;
- if (star[k] > SCRW*SCRH)
- star[k] -= SCRW*SCRH;
+ if (star[k] > SCRW * SCRH)
+ star[k] -= SCRW * SCRH;
vid[star[k]] = i;
}
}
@@ -89,7 +89,7 @@ warp_saver(video_adapter_t *adp, int blank)
blanked++;
vid = (u_char *)adp->va_window;
splx(pl);
- bzero(vid, SCRW*SCRH);
+ bzero(vid, SCRW * SCRH);
}
/* update display */
@@ -116,7 +116,7 @@ warp_init(video_adapter_t *adp)
/* randomize the star field */
for (i = 0; i < STARS; i++)
- star[i] = random() % (SCRW*SCRH);
+ star[i] = random() % (SCRW * SCRH);
return (0);
}
OpenPOWER on IntegriCloud