summaryrefslogtreecommitdiffstats
path: root/hacks/glx/glmatrix.c
diff options
context:
space:
mode:
Diffstat (limited to 'hacks/glx/glmatrix.c')
-rw-r--r--hacks/glx/glmatrix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hacks/glx/glmatrix.c b/hacks/glx/glmatrix.c
index 1e1c4f6..a638583 100644
--- a/hacks/glx/glmatrix.c
+++ b/hacks/glx/glmatrix.c
@@ -251,7 +251,7 @@ reset_strip (ModeInfo *mi, strip *s)
if (do_clock &&
!time_displayed_p &&
(i < GRID_SIZE-5) && /* display approx. once per 5 strips */
- !(random() % (GRID_SIZE-5)*5))
+ !(random() % ((GRID_SIZE-5)*5)))
{
int j;
char text[80];