diff options
Diffstat (limited to 'minic/test/prime.c')
-rw-r--r-- | minic/test/prime.c | 3 |
1 files changed, 1 insertions, 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++; |