summaryrefslogtreecommitdiffstats
path: root/sys/dev/syscons/warp/warp_saver.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/syscons/warp/warp_saver.c')
-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