diff options
author | June McEnroe <june@causal.agency> | 2021-04-19 19:51:17 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2021-04-19 19:51:17 -0400 |
commit | a4039b1e8ca4dabd8a1a8dce9cd01dddc99c80b7 (patch) | |
tree | 42fb50855d390682b76b5388e21f5fd42ba82de2 | |
parent | Only print info atexit without -t (diff) | |
download | play-a4039b1e8ca4dabd8a1a8dce9cd01dddc99c80b7.tar.gz play-a4039b1e8ca4dabd8a1a8dce9cd01dddc99c80b7.zip |
Draw foundations in reverse order
-rw-r--r-- | freecell.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/freecell.c b/freecell.c index 45aff26..872009a 100644 --- a/freecell.c +++ b/freecell.c @@ -293,7 +293,7 @@ static void draw(void) { char key; if (i < Cell) { y = FoundationY; - x = FoundationX + (i-Foundation) * (CardWidth+Padding); + x = FoundationX + (3-(i-Foundation)) * (CardWidth+Padding); key = '_'; } else if (i < Tableau) { y = CellY; |