summaryrefslogtreecommitdiff
path: root/wk1/pset1
diff options
context:
space:
mode:
Diffstat (limited to 'wk1/pset1')
-rw-r--r--wk1/pset1/mario-more/mario.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/wk1/pset1/mario-more/mario.c b/wk1/pset1/mario-more/mario.c
index ed1de18..e92a7ce 100644
--- a/wk1/pset1/mario-more/mario.c
+++ b/wk1/pset1/mario-more/mario.c
@@ -43,7 +43,7 @@ void print_grid(size)
printf(" ");
for (int j = size; j > 0; j--)
{
- if ((size - (j + i + i)) > 1)
+ if ((size - (j + i)) > 1)
{
printf("#");
}