From 1f2261b5a3d4be901ef3f3bb43f2c7456c408427 Mon Sep 17 00:00:00 2001 From: Quentin Carbonneaux Date: Fri, 6 Nov 2015 19:22:49 -0500 Subject: use the new && in test/prime.c --- minic/test/prime.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/minic/test/prime.c b/minic/test/prime.c index 4c82ee8..1dd94e7 100644 --- a/minic/test/prime.c +++ b/minic/test/prime.c @@ -17,8 +17,7 @@ main() { t++; } if (p) { - if (c % 10 == 0) - if (c != 0) + if (c && c % 10 == 0) printf("\n"); printf("%4d ", n); c++; -- cgit 1.4.1